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

ROS Navigation Stack, Changing Global Planner

asked 2014-07-29 18:46:13 -0500

ROSCMBOT gravatar image

Hello,

How can I change the default Global Planner (Dijkstra) to A* or SBPL.

The tutorial says for example: "The global planner can be used with move_base simply by setting the "base_global_planner" parameter to "SBPLLatticePlanner"".

Where can I set "base_global_planner" parameter?

Thanks

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

answered 2014-07-29 20:17:35 -0500

2ROS0 gravatar image

As you have mentioned, move_base has a parameter called "base_global_planner" that you can set to whichever planner you want to use. You can do this in the launchfile that launches move_base by adding the following line:

<param name="base_global_planner" value="your_planner_name"/>

The planner has to be of the type nav_core::BaseGlobalPlanner. You can alternatively supply the parameter from the command line as mentioned here.

edit flag offensive delete link more
1

answered 2014-07-29 20:11:40 -0500

Ken_in_JAPAN gravatar image

Could you check this page ( http://answers.ros.org/question/17130... ) ? This article might be useful for you.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2014-07-29 18:46:13 -0500

Seen: 2,106 times

Last updated: Jul 29 '14