Minor change to remove something that didn't make any difference
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user