Closed decdox closed 1 year ago
I recommend taking a look at the examples, but the configuration of the problem is now controlled by profiles. In the case of trajopt it has Solver, Plan and Composite profiles. Take a look at these in the trajopt directory and everything should be configurable using the profile. If the default profiles do not have or do what you need you can create your own profile to use.
In an earlier version (maybe a 2020 release) of tesseract and trajopt, a trajectory optimization problem can be constructed by such a workflow (part of my code):
and then solve the problem with:
But the current version seems not have the
solve
function for a PCI-constructed trajopt problem, because the relevant funtion such asTrajOptMotionPlanner
in trajopt_motion_planner.h.So could you give me some advice how to solve this type of trajectory optimization problem? The trajopt problem is just given a target pose of the end-effector of the manipulator and i would like to add some cost and constraints (such as collision, box for collision-free, joint position limit, joint acceleration limit, time cost, invariance of the orientation of the end-effector, etc,.)