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

path planning for turtlebot3_navigation package

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

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. http://emanual.robotis.com/docs/en/pl... My question is how path planning is done? I see in ros.wiki 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
3

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

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

Comments

1

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 -0500 )edit
1

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 -0500 )edit
1

http://wiki.ros.org/global_planner

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 -0500 )edit
1

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 -0500 )edit
1

ok. thanks alot

roboter gravatar image roboter  ( 2019-12-02 08:40:43 -0500 )edit

Question Tools

2 followers

Stats

Asked: 2019-12-01 19:50:47 -0500

Seen: 1,553 times

Last updated: Dec 02 '19