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 diffdrive voltage constraint on tight turns w/ zero velocity #2341

Merged
merged 4 commits into from Feb 15, 2020

Conversation

Oblarg
Copy link
Contributor

@Oblarg Oblarg commented Feb 5, 2020

includes tests

Copy link
Member

@calcmogul calcmogul left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I still don't understand what this is doing, so I can't verify its correctness. If we have good unit test coverage, we could merge as-is so it's at least less broken for 2020 (there could be more bugs hiding, idk).

For 2021, I think we could invert the feedforward model for a differential drive to obtain xdot directly from points on the boundary of the input constraint polytope rather than solving for this stuff explicitly.

@PeterJohnson PeterJohnson merged commit 65eab93 into wpilibsuite:master Feb 15, 2020
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.

None yet

3 participants