FIRST-Tech-Challenge / FIRST-Tech-Challenge/FtcRobotController

DCMotorEx getVelocity overflow

Open
#965 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
1.3k
Forks
9.9k
Avg merge
18m
Merged PRs (30d)
1

Description

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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.