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

There is no Global Planner on Turtlebot3 Navigation Package

asked 2020-03-24 02:18:08 -0500

billynugrahas gravatar image

i install ros melodic and the turtlebot3 package with the procedure on this link :

Then i want to edit the package for navigation, i want to change the method of global_planner from navfn to CarrotPlanner or GlobalPlanner. But when i edit the move_base.launch there is no base_global_planner, justlocal_global_planner. And the parameter on the param folder, there is no base_global_planner_params, just local_global_planner_params.

  1. Why there is no base_global_planner on the launch and params file on the turtlebot3 ?
  2. If i added it manually the params and edit the launch file on the turtlebot3 package, will it works?
  3. Give me recommendation the full robot package for learning. (That there's no additional file that i must added it like base_global_planner on turtlebot3 package)

Thank you so much.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2020-03-24 02:58:21 -0500

bob-ROS gravatar image

updated 2020-03-24 08:07:26 -0500

The default is equivalent to

<param name="base_global_planner" value="navfn/NavfnROS" />

Add this line as an parameter to move_base in move_base.launch and change the value to your desired global planner. E.g.

<param name="base_global_planner" value="global_planner/GlobalPlanner" />
edit flag offensive delete link more


Thank you so much it helps me. But i have some doubt, If i want to set the parameter of base_global_planner, where i can edit it ? e.g. I want to use A* instead of Dijkstra's Algorithm. On this mention that change the value of use_dijkstra to False. Where i can edit it?

billynugrahas gravatar image billynugrahas  ( 2020-03-24 07:23:10 -0500 )edit

You should be able to put it just copy paste this on the row after you set the param for base_global_planner. I didn't try this explicitly:

<param name="GlobalPlanner/use_dijkstra" value="false"/>

Another option is to load yaml files for parameters but there are plenty of examples for that. See e.g the husky_navigation package.

bob-ROS gravatar image bob-ROS  ( 2020-03-24 08:05:23 -0500 )edit

Question Tools

1 follower


Asked: 2020-03-24 02:18:08 -0500

Seen: 905 times

Last updated: Mar 24 '20