How to use TOTG for time parameterization ? #237
-
I follow the basic_cartesian_example in tesseract_ros_examples and i notice that it uses spline for time parameterization. In moveit, i can choose TOTG for time paramererization, so i wanna know how can this be done in tesseract ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Yes, take a look at this That example is using the trajopt pipeline so you would copy this function and replace it with TOTG where ISP is. Then register this function with the planning server under some name. planning_server.registerProcessPlanner(process_planner_names::TRAJOPT_PLANNER_NAME + "_TOTG", createTrajOptTOTGGenerator()); Then update this line |
Beta Was this translation helpful? Give feedback.
Yes, take a look at this
planning_server.loadDefaultProcessPlanners();
in the example. This is where all of the motion pipelines get added. You would need to copy the function for the pipelinei you are interested in and switch it out ISP with TOTG.That example is using the trajopt pipeline so you would copy this function and replace it with TOTG where ISP is.
tesseract_planning/tesseract_process_managers/src/core/default_process_planners.cpp
Lines 55 to 120 in f966455