how to access yaml map data?
generally, the yaml file of map is something like below,
image: map.pgm
resolution: 0.050000
origin: [-3,-3,0]
negate: 0
occupied_thresh: 0.65
free_thresh: 0.196
now i need the map for localization, to solve localization problem i need to access the data of map and compare to laser scan in each iteration, however the yaml map does include data of map. how can i access the data of a saved map in yaml format? thank you in advance.