# Map origin with respect to which coordinate frame? [closed]

I'm subscribing to the /map topic, which gets nav_msgs/OccupancyGrid messages, which has origin data from MapMetaData.

The value of the map origin is (-1, -12). But I can't figure out that this value is with respect to which frame? I donot have a world frame, and I checked it's not wrt the /odom or /base_footprint.

Basically I detect corners in the map and then want to send the bot to the corner, but to do that, I need to transform the coordinates from the pgm map, and I can't understand where the point lies on the map.

edit retag reopen merge delete

### Closed for the following reason duplicate question by parzival close date 2019-11-14 04:49:37.146727

Could you please include links to Q&As you've already found? Just so we can avoid discussing aspects of this you are already aware of?

There are multiple Q&As about this topic (with a very recent one being #q306110 fi and #q322919 seems like it would answer your question), and it would be great if we could avoid adding more (partial) duplicates.

( 2019-11-11 04:13:46 -0600 )edit

Hi @gvdhoorn, I referred those, but didn't get the required answer. I'd keep in mind to tag these questions in future.

( 2019-11-11 04:58:29 -0600 )edit
1

The origin tag in the yaml states where the bottom left pixel of this image is located relative to the map's coordinate frame (supplied via the frame_idparam in map_server, defaults to "map").