map_saver doesn't return from "Waiting for the map"
I'm doing turtlebot
's tutorial "Build a map with SLAM" and can't generate a map file. Actually I succeeded only first 2 times. Since then map_saver
always says:
turtlebot@turtlebot-1:~$ rosrun map_server map_saver -f /tmp/my_map
[ INFO] [1321409343.272498323]: Waiting for the map
^C <---- I manually killed
^CTerminated
turtlebot@turtlebot-1:~$
and the process map_server
keeps consuming around 95%.
When I succeeded:
turtlebot@turtlebot-1:/tmp$ rosrun map_server map_saver -f /tmp/my_map
[ INFO] [1321405355.532849715]: Waiting for the map
[ INFO] [1321405355.807251282]: Received a 480 X 544 map @ 0.050 m/pix
[ INFO] [1321405355.812693593]: Writing map occupancy data to /tmp/my_map.pgm
[ INFO] [1321405355.851996657]: Writing map occupancy data to /tmp/my_map.yaml
[ INFO] [1321405355.853300442]: Done
I used teleop
to move turtlebot.
Env) Ubuntu 10.04, ROS/turtlebot electric