diff --git a/swervelib/SwerveModule.java b/swervelib/SwerveModule.java index 260cdf0..dd709cb 100644 --- a/swervelib/SwerveModule.java +++ b/swervelib/SwerveModule.java @@ -226,14 +226,12 @@ public class SwerveModule 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.