If you work with AMCL or any other localization algorithm and relocalize the robot, a jump in the robot frame occurs, more precisely in the TF between map and odometry: Map <--> Odom <--> Robot.
The current setup in master publishes ground truth with Odom as parent frame and, because of this, when the jump happens, ground truth also changes, which is unexpected.
This PR allows developers to modify the parent frame of ground truth to a static TF that is not affected by localization.
If you work with AMCL or any other localization algorithm and relocalize the robot, a jump in the robot frame occurs, more precisely in the TF between map and odometry:
Map <--> Odom <--> Robot
.The current setup in
master
publishes ground truth withOdom
as parent frame and, because of this, when the jump happens, ground truth also changes, which is unexpected.This PR allows developers to modify the parent frame of ground truth to a static TF that is not affected by localization.
Signed-off-by: Emiliano Borghi emiliano.borghi@gmail.com