[SOLVED] Getting map co-ordinates
We are building a SLAM map using our Turtlebot. During the process, we stop the Turtlebot at certain points and would like to obtain the x,y,z values from the map coordinate frame. We are using the /map_metadata topic which we believe gives us the x,y,z values in the map. However, these values never seem to change and always stay the same in the /map_metadata topic.
Could someone please provide a solution or an alternative? Many thanks!
Edit: We've managed to obtain the corresponding robot co-ordinates by simply using
rosrun tf tf_echo /map /base_footprint