About unit in map

asked 2017-09-05 20:55:23 -0500

rozoalex gravatar image

How does the unit in map related to the real world unit? Since I want to modify the map by hand to make it more accurate. I really want to know how is the unit working. For example, how many pixels in the pgm is one meter? I couldn't find relevant document about this.


edit retag flag offensive close merge delete



The map resolution (pixels per meter) is typically specified in the yaml file that goes with your map.

ahendrix gravatar image ahendrix  ( 2017-09-06 00:42:48 -0500 )edit

Mine says: "resolution: 0.050000". What does it suppose to mean? Thanks!

rozoalex gravatar image rozoalex  ( 2017-09-06 07:12:58 -0500 )edit

That means 5cm. Everything in ROS uses SI units or direct derivatives. See REP-103.

gvdhoorn gravatar image gvdhoorn  ( 2017-09-06 07:15:18 -0500 )edit