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

Revision history [back]

This is the answer to my own map saving problem that led to the "waiting for the map" hanging problem (which I could only ctrl-z kill-9 kill, ctrl-c couldn't stop it). My OccupancyGrid map was actually on /map2d, so I needed to argument remap:

rosrun map_server map_saver -f map /map:=/map2d

The proper output is this:

[ INFO] [1393526083.353818074]: Waiting for the map
[ INFO] [1393526083.936695077, 256.619000000]: Received a 480 X 480 map @ 0.050 m/pix
[ INFO] [1393526083.936841755, 256.619000000]: Writing map occupancy data to map.pgm
[ INFO] [1393526083.946531480, 256.620000000]: Writing map occupancy data to map.yaml
[ INFO] [1393526083.946678716, 256.620000000]: Done