Skip to content

Conversation

@BenBean18
Copy link
Contributor

Uses log map to convert from pose traveled during timestep to a twist (because the robot travels in an arc if it's simultaneously translating and rotating)

@BenBean18
Copy link
Contributor Author

note: need to find different library to use (the Lie algebra library I'm using currently requires Eigen 3.4+ and Ubuntu 20.04 only has 3.3.7) or just write the math myself, it's not too bad

saw the sophus package which probably works

Uses log map to convert from pose traveled during timestep to a twist
(because the robot travels in an arc if it's simultaneously translating
and rotating)
It helps a tiny bit, but position control on paths fixes drift/skew anyway
(had to only do velocity feed forward to get drift/skew to show up)
Also learned how to use the auto node :)
@kjaget kjaget force-pushed the fix_swerve_skew_hopefully branch from dbc3347 to 67b584e Compare August 11, 2025 11:10
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