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

Using OMPL for Turtlebot 2

asked 2014-11-09 10:57:35 -0500

Tixiao gravatar image

Hi guys, I am very new to ROS. Now I am trying to implement planners in OMPL to Turtlebot 2. i.e. using RRT or RRT* in OMPL instead of the global planners offered in ROS. I have seen this website "Writing A Global Path Planner As Plugin in ROS" http://wiki.ros.org/navigation/Tutori...
But I still don't know how to use the planners in OMPL. I just know that OMPL.app has a interface which will show me the path. My problem is to use the planners for my Turtlebot. Anyone knows the detailed steps to do this? Like how to use the API in OMPL. (I am really a rookie)

edit retag flag offensive close merge delete

Comments

did you slove this problem?

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

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-11-09 21:19:13 -0500

fergs gravatar image

Because the Turtlebot is a differential drive base, it cannot move in all directions, thus in order to get reasonable plans for it with OMPL, you'll need to use a state space that understands the movement of the robot (current options in OMPL are the Dubins curve or ReedsShepp curves, there is an example here: http://ompl.kavrakilab.org/GeometricC... ). You'll need to implement functions to turn the Costmap2D into an OMPL state space, and then figure out how to the output plan from OMPL into a vector of PoseStamped. This is probably a fairly involved project.

edit flag offensive delete link more

Comments

Thank you so much for you answer, Fergs. I didn't realize that so many tricky things involved. I think I need to do more research on OMPL and Navigation of ROS and turtlebot.

Tixiao gravatar image Tixiao  ( 2014-11-09 21:37:26 -0500 )edit

Just a note, the MoveIt code, while quite complex, is one of the best examples of integrating OMPL+ROS.

fergs gravatar image fergs  ( 2014-11-09 21:52:06 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2014-11-09 10:57:35 -0500

Seen: 934 times

Last updated: Nov 09 '14