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
teleop to move turtlebot.
Env) Ubuntu 10.04,
it seems to me that your nodes are not able to communicate with each other. you could try running rxgraph next to the two nodes and see if the actually share the same map topic.
if not, make sure that
quick question: are both nodes running on the same machine?
Though this can't be the permanent solution, I found after rebooting OS saving map works fine. But still the issue occasionally occurs. At least at this moment there could be some tips and do I just understand that the issue happens? Hope this won't happen when I try very large room...
And I just realized myself that some of my question I asked here were solved by just rebooting OS. I know rebooting is often an ultimate solution for software development and from next time I'll try that before asking question.
Asked: 2011-11-15 20:41:08 -0500
Seen: 458 times
Last updated: Nov 18 '11