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

When you created the map, assuming you did it within ROS, it should have generated an image file (read: .png or .pgm), and a .yaml description file. In this description file, a parameter will be "resolution". That value is the size of the pixels in meters.

If you have access to the map image file, you can right click on it, and under the "properties" you can get the size pixels. If the picture is 50 pixels x 50 pixels and the resolution is 0.25m/pixel. Then the map is 12.5m X 12.5m.

Usually the convention is to specify the axis origin at the bottom left hand corner of the file and distances will be measured from there.