using nav msg map in UI
I am developoing a mission planner where nav_msgs/MapMeta data has been loaded into ui. Here i am trying to display the position of robot in given map with (x,y) coordinates. The map.yaml is as:
image: nic_map4.pgm
resolution: 0.050000
origin: [-51.224998, -51.224998, 0.000000]
negate: 0
occupied_thresh: 0.65
free_thresh: 0.196
Here for example if the robot position is comming as (1,1) a set the robot pose as x=1resolution, y=1resolution but the positions seems not correct. How exactly should i display the position of robot in given map.