diff --git a/src/main/java/swervelib/SwerveModule.java b/src/main/java/swervelib/SwerveModule.java index 260cdf06..dd709cbf 100644 --- a/src/main/java/swervelib/SwerveModule.java +++ b/src/main/java/swervelib/SwerveModule.java @@ -226,14 +226,12 @@ public void setDesiredState(SwerveModuleState desiredState, boolean isOpenLoop, driveMotor.setReference(velocity, feedforward.calculate(velocity)); } - /* // Not necessary anymore. // If we are forcing the angle if (!force) { // Prevents module rotation if speed is less than 1% SwerveMath.antiJitter(desiredState, lastState, Math.min(maxSpeed, 4)); } - */ // Prevent module rotation if angle is the same as the previous angle. // Synchronize encoders if queued and send in the current position as the value from the absolute encoder.