Ask Your Question

path planning for turtlebot3_navigation package

asked 2019-12-01 19:50:47 -0600

roboter gravatar image

hello, i have started working with turtlebot3 and i am going with the tutorials. i am following this website and going well. My question is how path planning is done? I see in about global and local path planner, A* and DWA planner, but things are not clear. In the configuration files of move_base, only DWA planner can be configured. So is it using just DWA for path planning and execution? If yes, then how it can make a path. If not, then which other algorithm is used,how can one configure it and what it is documented. Your help will be highly appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-12-02 07:11:45 -0600

Choco93 gravatar image

Global planner plans whole path towards your goal and local planner is responsible for execution (publishing velocities), to follow global plan as closely as possible and according to it's configuration. You can find list of common global and local planners here. And DWA is a local planner, you can find it in the list and read about what it does and configuration params.

edit flag offensive delete link more


Thanks alot. I know the difference between local and global planner. I want to know how can i see which global planner is used by a package. i am using turtlebot navigation package with turtlebot3_navigation an move_base launch files in whichi only see base local planner and DWA planner. Where is global planner ?

roboter gravatar image roboter  ( 2019-12-02 07:49:15 -0600 )edit

If a planner is not specified in launch file, then default one is used, which in case of move_base is GlobalPlanner. Within base_node you can pass both local and global planner as following, and also load their configurations using rosparam.

<param name="base_local_planner" value="dwa_local_planner/DWAPlannerROS"/>
<param name="base_global_planner" value="global_planner/GlobalPlanner" />
Choco93 gravatar image Choco93  ( 2019-12-02 08:06:23 -0600 )edit

This is the global planner by default? if yes, then it is using dijkstra algorithm to find the path or its modified version? If modified version, then where can i see the documentation? Also if use_dijkstra=false, it uses A, so this means it can use both dijkstra or A depending upon configuration?

roboter gravatar image roboter  ( 2019-12-02 08:16:18 -0600 )edit

Yes it is default one. And depending on your configuration you can either use dijkstra or A. And I don't know about dijkstra but I think it is using some variant of A (if memory serves me right). And only paper I could find is here. Maybe you can add an issue on github and ask there for info and if there is some paper available explaining implementation.

Choco93 gravatar image Choco93  ( 2019-12-02 08:35:20 -0600 )edit

ok. thanks alot

roboter gravatar image roboter  ( 2019-12-02 08:40:43 -0600 )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: 2019-12-01 19:50:47 -0600

Seen: 390 times

Last updated: Dec 02 '19