a python code that assigns the translation and orientation between map and base_link to the initial_pose

asked 2021-05-26 04:56:10 -0500

Delbina gravatar image

Hi everyone,

I want to set the initial pose of the robot relative to the map reference. I mean instead of assigning odometry information to the initial pose, I want to set it based on the distance that it has from the map reference. as I checked tf between map and baselink is publishing. now I need a python code that assigns the translation and orientation between map and base_link to the initial_pose.

ubuntu 16.04, python 2.7 ros kinetic

Thanks in advance

edit retag flag offensive close merge delete