Ask Your Question

How to implement OMPL to move a turtlebot

asked 2014-06-03 12:13:57 -0500

Ken_in_JAPAN gravatar image

I want to move a turtlebot with OMPL. I understand that OMPL is standalone and source file I edit should calls the library of planner as global planner. OMPL includes geometric/planners and control/planners. When moving a turtlebot, which should I choose geometric/planners or control/planners? I think I should choose control/planners, because control/planners outputs velocity command. I want to estimate a performance of PRM and RRT, but source and header files of PRM doesn't exist in control/planners. So, I can't estimate them. Am I correct?

edit retag flag offensive close merge delete


plan_node.cpp uses geometry_msgs as namespace. This shows that I'm wrong? I"m not sure.

Ken_in_JAPAN gravatar image Ken_in_JAPAN  ( 2014-06-03 17:09:34 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-06-03 20:25:20 -0500

isucan gravatar image

Hello Ken,

You can probably use both types of planners. It really depends on how you would like to control the system. For the turtlebot I think geometric planners may be more appropriate, and they will run faster. You could parametrize the velocity as a post-processing step on the path. If you have an ODE describing your model of motion and would like to plan for that, then control planners would be more suitable.

PRM constructs a roadmap and we do not assume the ability to solve the 2 point boundary value problem, so there is no implementation in control/.

More documentation about OMPL is at and the OMPL mailing list.

edit flag offensive delete link more


@isucan Thank you for telling me detailed information. If geometric planners are more appropriate, I also can try FMT. However, It depends on me.

Ken_in_JAPAN gravatar image Ken_in_JAPAN  ( 2014-06-03 21:42:44 -0500 )edit

have you run the algorithm in real turtlebot? Would you like to share you GIThub?

longjianquan gravatar image longjianquan  ( 2017-09-04 08:07:27 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-06-03 12:13:57 -0500

Seen: 452 times

Last updated: Jun 03 '14