Robotics StackExchange | Archived questions

How to use Time-optimal Trajectory Generation in Moveit

I would like to know how can I use Time-optimal Trajectory Generation in Moveit Python API

Asked by akumar3.1428 on 2022-11-18 15:06:49 UTC

Comments

Have you followed this tutorial that is the first Google result for your question? If yes, what are you stuck on? Please read the Guidelines for asking a question to improve your chances of getting more helpful answers.

Asked by fvd on 2022-11-18 22:01:05 UTC

I read the following tutorial, but it explains what the difference is, however I am looking for an example implementation. I will take care of the asking a question guideline.

Asked by akumar3.1428 on 2022-11-18 22:17:23 UTC

Answers

The moveit_resources repo is a good place to look up usage examples. A lot of the tutorials use it.

Inside of that repo, you can find this:

https://github.com/ros-planning/moveit_resources/blob/master/panda_moveit_config/launch/ompl_planning_pipeline.launch.xml

OMPL is the default planner that almost everybody uses. All you need to change is this line:

  <arg name="planning_adapters"
       default="default_planner_request_adapters/AddTimeParameterization

Change it to:

  <arg name="planning_adapters"
       default="default_planner_request_adapters/AddOptimalTimeParameterization

I agree that the MoveIt1 tutorial isn't the best. It's a little better in MoveIt2, at least.

Asked by AndyZe on 2022-11-18 22:49:39 UTC

Comments