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 odom drift #6

Merged
merged 4 commits into from
Oct 29, 2023
Merged

Fix odom drift #6

merged 4 commits into from
Oct 29, 2023

Conversation

MarqRazz
Copy link
Owner

There is an issue with odom in sim (both Gazebo and Isaac). This PR is to diagnose and fix the drift.

For example if you teleop the robot in a circle in sim it rotates 3/4 of a full rotation to 1 rotation reported by odom.
odom_drift

@MarqRazz
Copy link
Owner Author

MarqRazz commented Oct 29, 2023

Working much better! I think the remaining drift is due to wheel slip in the sim so I attempted to reduce the linear acceleration but want to balance the robot to moving at a decent rate in the real world. I still need to tune nav to avoid obstacles better but will do that in future PR's.
odom_drift_reduced
nav2_better_odom

@MarqRazz MarqRazz merged commit 27d0624 into main Oct 29, 2023
1 check passed
@MarqRazz MarqRazz deleted the pr-fix_odom branch October 29, 2023 20:06
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.

1 participant