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

Drop inconsistent odometry #348

Open
truher opened this issue Apr 2, 2024 · 2 comments
Open

Drop inconsistent odometry #348

truher opened this issue Apr 2, 2024 · 2 comments
Labels
Later not urgent

Comments

@truher
Copy link
Member

truher commented Apr 2, 2024

when one wheel is slipping a lot relative to the others, don't include it in the average.

note since the odometry uses differentials, the "bad" wheel needs to have a "fake" odometry created for it.

@truher
Copy link
Member Author

truher commented Apr 3, 2024

note that wheel slip is less of a problem with velocity control, assuming we're operating inside the feasible envelope. so for now this is less important. if we switch to torque control, this will be a much bigger deal.

@truher truher added the Later not urgent label Apr 3, 2024
@truher
Copy link
Member Author

truher commented Apr 3, 2024

to solve it:

  • solve chassis speeds or deltas for four wheels
  • project this solution back into the expected module states
  • compare the actual module states to the expected module states
  • wheels that are going "too fast" should be ignored
  • to ignore them, solve chassis speeds again using a different kinematics matrix that drops one or two wheels.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Later not urgent
Development

No branches or pull requests

1 participant