Skip to content

Conversation

@CorianderSeed
Copy link
Contributor

Now the velocity of the robot can go from fast to stop instantly, but the robot can't turn instantly.

First try to make polar coordinate slew rate limiter that only limits change in angle, and not change in magnitude of the velocity vector.
We accidentally removed the velocity multiplier in TeleOp drive in the last commit. Added it back.
Interpolation made 180 degrees very hard. Changed the interpolation from just interpolating angles to interpolating whole vectors (Translation 2D) in ThetaLimiter
Getter and Setter for the constant (c / magnitude = theta) so we can hopefully test and tune the constant for good control
Error on shuffleboard kept saying "Sendable needs a name" so we did what it says above
Changed Debug mode to false, fixed typo in object turningLimiter in teleop drive
no limit on acceleration was causing brownouts, so we added a vector mag limiter into thetalimiter calculate.
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