Minor change to remove something that didn't make any difference

This commit is contained in:
2026-01-31 13:31:45 -05:00
parent 4666a74877
commit 359a9a6bbb

View File

@@ -196,12 +196,7 @@ public class SwerveModule {
}
public double getTurningEncoderPosition() {
return MathUtil.inputModulus(
turningRelativeEncoder.getPosition(),
0,
2 * Math.PI
);
//return turningRelativeEncoder.getPosition() * (ModuleConstants.kIsEncoderInverted ? -1 : 1);
return turningRelativeEncoder.getPosition() * (ModuleConstants.kIsEncoderInverted ? -1 : 1);
}
public void resetEncoders() {