wpilibsuite / allwpilib

Official Repository of WPILibJ and WPILibC
https://wpilib.org/
Other
1.08k stars 610 forks source link

Differential Drive Break Problem? #1592

Closed NoHaxJustProgram closed 5 years ago

NoHaxJustProgram commented 5 years ago

We have an issue of when we drive with the differential drive class, reverse and forwards, and then stop, it turns right when it's reverse and left when it's forwards.

How can we fix this and why does this happen?

Kevin-OConnor commented 5 years ago

It sounds like you're staying that the left side of the drivetrain stops sooner when you try to stop the robot. This is not an issue with the differential drive class.

Things to look for are uneven friction on the two sides, unevenly calibrated motor controllers, or some controllers in brake while others are in coast.