Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix ground truth Tf changing parent frame #81

Merged
merged 1 commit into from
May 3, 2022

Conversation

eborghi10
Copy link
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
Member

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