Ask Your Question

Cspace in navigation stack?

asked 2018-09-07 16:22:41 -0600

sterlingm gravatar image


Where does the ROS navigation stack consider the configuration space of the robot for circular mobile robots, such as the Turtlebot 2?

I am looking through the wiki, but I cannot find much about it. The global planner seems to plan on a workspace occupancy grid. If that is the case, then does the global planner do any kind of obstacle avoidance (even discarding nodes that are occupied locations)? Or does the global planner plan without considering obstacles and the local planner handles all obstacle avoidance?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2018-09-07 18:20:56 -0600

The map is the configuration space of traversable space in a 2D fixed-map mobile robotics application. It will visit the nodes belonging to occupied cells and look at the cost and using standard graph search techniques throw out from the path as untraversable space.

The local planner does take care of some obstacle avoidance but assuming a perfect map to perfectly represent your environment, it shouldn't have to do anything in theory, but not in practice or any amount of non-gazebo reality. The local planner also is what produces velocity commands to the wheels rather than just a list of ordered cells to visit.

edit flag offensive delete link more


Do you mean that the occupancy grid published on '/map' represents the configuration space of the robot (for 2D applications)? So the obstacle pixels found are already inflated based on the robot's size and shape?

sterlingm gravatar imagesterlingm ( 2018-09-09 12:34:56 -0600 )edit

answered 2018-09-19 10:50:47 -0600

David Lu gravatar image

The configuration space is represented with the "inflated" portions of your costmap. All the lethal obstacles have an additional lethal cost added to them based on the inscribed radius of your robot.

edit flag offensive delete link more

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-09-07 16:22:41 -0600

Seen: 130 times

Last updated: Sep 19 '18