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

Revision history [back]

click to hide/show revision 1
initial version

The map you've linked to is a PNG, not a JPEG; but that shouldn't really matter in the bigger picture.

It should be possible to manually create a map for AMCL, but it needs to be in specific format:

  • In PGM format, so that the map_server can load it
  • Black and white; black for obstacles, white for free space
  • Properly scaled, so that one pixel in your map matches the resolution setting in AMCL

Keep in mind that the map should be WHAT THE SENSOR SEES and not what you see. In particular, some of the typical lidars may not see glass windows or mirrors the same way you do.

So yes, you could start with your building map, but you'd probably need to make significant edits to scale it and get it into the correct format.

There are also a few existing questions about editing existing maps that may be useful:

  • http://answers.ros.org/question/12217/effects-of-manually-editing-gmapping-maps/
  • http://answers.ros.org/question/37486/modifying-a-known-map-gmapping/