Ask Your Question

Global planner with taking into account the robot footprint

asked 2018-07-05 08:44:09 -0600

Mobile_robot gravatar image

Hello all,

I was wondering if it exists a global planner which takes into account the robot's footprint and also can be an alternative to the navfn global_planner?

Thanks a lot,

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-07-05 10:25:19 -0600

nathan gravatar image

updated 2018-07-05 10:26:14 -0600

The global planner of the navigation stack makes use of a costmap to make its global plan, provided by the costmap_2d plugin. You can change the parameters that are provided to costmap_2d to take the footprint of the robot into account, by either passing the robot_radius or robot_footprint parameter to the move_base_node when you launch it.

You can see how this could be done by taking a look at the turtlebot_navigation package, specifically how parameters are passed to the move_base_node in the move_base.launch.xml file.

In this package, the robot_radius parameter is set in the costmap_common_parameters.yaml file.

edit flag offensive delete link more



Thanks a lot @nathan and sorry for late answer, I was trying your proposition. Actually, in my case, the global costmap does not take into account the FootPrint when I define it as a Polygone but it takes it into account when I define it as a Circle.

Mobile_robot gravatar image Mobile_robot  ( 2018-07-09 10:17:20 -0600 )edit

If I understand correctly- for simplicity and efficiency reasons, default global planner assumes the robot is circular and generates the global plan in configuration space. By that, it adds the radius buffer along all the static/dynamic obstacles, and treat the robot as a single point object in the planning algorithm. That's why it seems to only honor circular footprint instead of a polygon one.

bageltz gravatar image bageltz  ( 2019-10-30 14:04:16 -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



Asked: 2018-07-05 08:44:09 -0600

Seen: 759 times

Last updated: Jul 05 '18