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

Revision history [back]

move_base never subscribes directly to a map. It uses the Costmap2D to handle mapping.

If you look at the costmap_2d docs, you'll see that it does subscribe to /map if your have configured it to initialize with a static map. Note that the map is only read for initialization and will be overwritten if a sensor such as a laser marks those cells as clear (assuming you have a clearing sensor feeding into the costmap that was initialized from a static map).