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
Originally posted by 130s on ROS Answers with karma: 10937 on 2011-11-15
Post score: 2
Original comments
Comment by 130s on 2011-11-18:
@bhaskara sure will do. Good to know that. Thx!
Comment by bhaskara on 2011-11-17:
Next time it happens, can you try doing rostopic echo --noarr -n 1 map
. That would indicate whether the map is being published.