Team100 / all24

Monorepo for 2024
Other
4 stars 16 forks source link

Drop inconsistent odometry #348

Open truher opened 7 months ago

truher commented 7 months ago

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 commented 7 months ago

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 commented 7 months ago

to solve it: