ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to use Time-optimal Trajectory Generation in Moveit

asked 2022-11-18 14:06:49 -0500

akumar3.1428 gravatar image

updated 2023-06-18 09:44:45 -0500

lucasw gravatar image

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

edit retag flag offensive close merge delete

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.

fvd gravatar image fvd  ( 2022-11-18 21:01:05 -0500 )edit

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.

akumar3.1428 gravatar image akumar3.1428  ( 2022-11-18 21:17:23 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-11-18 21:49:39 -0500

AndyZe gravatar image

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/movei...

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.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2022-11-18 14:06:49 -0500

Seen: 283 times

Last updated: Nov 18 '22