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

Cspace in navigation stack?

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

sterlingm gravatar image

Hi,

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
1

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

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

Comments

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 image sterlingm  ( 2018-09-09 12:34:56 -0500 )edit
0

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

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

Question Tools

2 followers

Stats

Asked: 2018-09-07 16:22:41 -0500

Seen: 529 times

Last updated: Sep 19 '18