Calculate the global robot position after initialpose has been set
I have a physical robot. Using ROS2 galactic.
I am able to calculate the robot position by using the following two TF2 transforms: mapToOdom, odomToBaselink
Works fine.
But if I set initialPose of the robot. Now I am unable to calculate the robot position.
How do I calculate the robot position? How do I cater for the initialPose?