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
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?
Raph
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
How to adjust speed of turtlebot in Gmapping?
trouble getting an accurate map with TurtleBot
turtlebot gmapping with electric.
Kinect content missing on the Turtlebot
Autonomous navigation with turtlebot. Troubles through doors.
How can I record (rosbag) the appropiate nodes for simulatting gmmaping?
What am I doing wrong? Gmapping on Turtlebot Clone. I've pictures!
ROS Answers is licensed under Creative Commons Attribution 3.0 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.