Describe the bug
MecanumDriveWheelSpeeds calls for encoder.getRate().
encoder.getRate() does not change polarity if encoder.setInverted(true) is called.
getRate() calls getVelocity() which returns ((DcMotorEx) motor).getVelocity();
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here. We would recommend telling us yout:
- OS and version
- Android Studio version
- JDK version
Describe the bug
MecanumDriveWheelSpeeds calls for encoder.getRate().
encoder.getRate() does not change polarity if encoder.setInverted(true) is called.
getRate() calls getVelocity() which returns ((DcMotorEx) motor).getVelocity();
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here. We would recommend telling us yout: