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

rosrun map is not created its giving the waiting state always

asked 2019-02-19 03:49:12 -0500

Anuja_Rane gravatar image

updated 2019-02-19 04:20:16 -0500

Delb gravatar image


I am new to ROS I want to use bag files and generate a map with it. I am following the this tutorial

I am using the bag file given in the tutorial named as basic_localization_stage.bag. Here I am able to run the bag file but not able to generate the map by using "rosrun map_server map_saver -f my_map" this command. It always shows as:

[ INFO] [1550589155.317257429]: Waiting for the map

It does not comes out of it.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2019-02-19 04:21:57 -0500

Delb gravatar image

The bagfile you use doesn't have the topic map, if you do rostopic list while playing the bagfile you'll see :


The map_saver node try to read the topic /map to save a map, since it doesn't exist it stays idle and wait for this topic to be published.

edit flag offensive delete link more

Question Tools


Asked: 2019-02-19 03:49:12 -0500

Seen: 233 times

Last updated: Feb 19 '19