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

Get the dimensions of the pgm (x pixels by y pixels) then examine your yaml file. In the yaml file the resolution of the map is given in meters/pixel. This will allow you to determine the size of your map in meters. You would figure out the size of objects in the map in a similar fashion (i.e., multiply the number of pixels your object takes by the resolution of your map and you'll have the physical size of the object).

Refer to http://wiki.ros.org/map_server#YAML_format