Get Robot global pose from a costmap in Python
Is there any way to get the global pose of the robot from Python. I have a costmap and a robot with a LIDAR sensor. I was wondering whether I could publish the global pose over a topic and get it in Python. Is this the correct way to do this?