Added reset fix

This commit is contained in:
thenetworkgrinch
2024-08-24 17:31:26 -05:00
parent 44af2d1978
commit 1b464310d3

View File

@@ -621,6 +621,7 @@ public class SwerveModule
*/
public void restoreInternalOffset()
{
angleMotor.setAbsoluteEncoder(null);
absoluteEncoder.setAbsoluteEncoderOffset(0);
angleOffset = configuration.angleOffset;
}