Skip to content

Fix ground truth Tf changing parent frame#81

Merged
josephduchesne merged 1 commit intoavidbots:masterfrom
eborghi10:master
May 3, 2022
Merged

Fix ground truth Tf changing parent frame#81
josephduchesne merged 1 commit intoavidbots:masterfrom
eborghi10:master

Conversation

@eborghi10
Copy link
Copy Markdown
Contributor

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.

Signed-off-by: Emiliano Borghi emiliano.borghi@gmail.com

Signed-off-by: Emiliano Borghi <emiliano.borghi@gmail.com>
@josephduchesne
Copy link
Copy Markdown
Collaborator

Thanks for this fix. This may have been causing us some headaches behind the scenes as well!

@josephduchesne josephduchesne merged commit c8e8747 into avidbots:master May 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants