-
Notifications
You must be signed in to change notification settings - Fork 4.6k
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
DCMotorEx getVelocity overflow #965
Comments
NB: this was previously reported at FIRST-Tech-Challenge/SkyStone#241 |
NB2: The OctoQuad FTC Edition, which is now legal for this season, does not experience this problem. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It appears that the maximum return value of
getVelocity()
is limited due to variable size and as a result, when using systems that result in encoder readings with very high ticks per second, the overflow results in an incorrect value for the velocity of the encoder.The text was updated successfully, but these errors were encountered: