How to use UTM coordinates in rviz?

asked 2015-11-13 18:14:48 -0600

cybodroid gravatar image

Currently I am plotting Marker on fixed frame with x, y and z positions relative to (0,0). The requirement is to map coordinates of Marker with real world UTM coordinates. Can anybody suggests me how to use UTM coordinate in the Marker. For example I want to use UTM coordinate from Tucson: .

edit retag flag offensive close merge delete


In the past I would pick an arbitrary origin point and put the relative UTM value into the transforms. All UTM coordinates are already relative to their zone, for instance Tucson is probably in the S12 UTM zone.

William gravatar image William  ( 2015-11-16 19:59:59 -0600 )edit

so does that mean no mathematical transformation is required. x = Easting and y = Northing?

cybodroid gravatar image cybodroid  ( 2015-11-16 20:43:44 -0600 )edit

Yup. So you'll have a tf frame at either the UTM zone's origin or some arbitrary easting and northing value. Then you can just map easting and northing to x and y and publish them accordingly. They are also in meters already, so no conversion is necessary.

William gravatar image William  ( 2015-11-16 21:02:00 -0600 )edit