Robotics StackExchange | Archived questions

About unit in map

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.

Thanks!!

Asked by rozoalex on 2017-09-05 20:55:23 UTC

Comments

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

Asked by ahendrix on 2017-09-06 00:42:48 UTC

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

Asked by rozoalex on 2017-09-06 07:12:58 UTC

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

Asked by gvdhoorn on 2017-09-06 07:15:18 UTC

Answers