Ask Your Question
1

Updating RRT in ompl_ros_interface

asked 2013-02-19 11:17:16 -0500

Ashesh gravatar image

updated 2014-01-28 17:15:19 -0500

ngrennan gravatar image
Hello

I am trying to modify the implementation of RRT in ROS to adapt it for my problem. I am currently using Fuerte. But I am not able to find RRT.cpp anywhere in the ROS insallation in `/opt/ros/fuerte/` (but I could find RRT.h). I also tried the following:

    find -iname '*RRT.cpp*'

but got no search result. Then I started looking into the file ompl_ros_planning_group.cpp
and found that the planner is being called on line #446:

      bool solved = planner_->solve(request.motion_plan_request.allowed_planning_time.toSec());

I am unable to find this solve() function anywhere in the ROS installation. Can someone please help me with this.

I have also seen the ompl code available at ompl site. Where the solve() function was present in RRT.cpp file. 

Thanks in advance!!!
edit retag flag offensive close merge delete

Comments

1

The implementation of RRT is within OMPL. so you need to dig into the source code of OMPL.

yangyangcv gravatar image yangyangcv  ( 2013-02-19 14:20:56 -0500 )edit

Side note: Please edit your question in order to _not_ mark everything as code. It's a bit hard to read. :-)

bit-pirate gravatar image bit-pirate  ( 2013-02-19 17:32:54 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
3

answered 2013-02-19 17:30:37 -0500

bit-pirate gravatar image

Hm, actually you already have found out everything you need and @yanyangcv stated it again in his comment: The actual implementation of the RRT planner (and the other OMPL planners) resides within the OMPL. The arm_navigation stack only contains wrappers (see ompl_ros_interface) for them.

So, you either have to find a way to apply your changes in the planner configuration or pre/post-processing parts inside the ompl_ros_interface or you download the OMPL code, link to it and apply your desired changes there.

I did both in the past and it's not too hard to get your head into it. Especially, the OMPL code is well written and documented. The included demos are interesting as well and I used them for testing my changes to the planners.

Good luck!

edit flag offensive delete link more

Your Answer

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

Add Answer

Question Tools

2 followers

Stats

Asked: 2013-02-19 11:17:16 -0500

Seen: 248 times

Last updated: Feb 19 '13