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

Revision history [back]

You'll need to be more specific in saying that the map is not created. Because you have no warnings from Hector Mapping, I assume everything is working. The inability to see the map in RVIZ is likely the frame ID. You find this inside RVIZ.

But, let's see if the map is being created. Try to save the map with this command:

rosrun map_server map_saver -f ~/test

If all goes well, the map will be saved in your home folder. Two files will be created: test.pgm and test.yaml. If the image in test.pgm is blank, then there is some problem with the hector side. If you are still having troubles, could you please screenshot RVIZ and edit your question? That would be very helpful in resolving your issue. Terminal output is also nice.

The "-1" you see is neither occupied nor open (has yet to be written to). This is just blank, uncharted territory. Not a big deal.