Added back wheel speed desaturation

This commit is contained in:
thenetworkgrinch
2024-01-22 17:40:04 -06:00
parent 84f8a9f63a
commit f57f693955

View File

@@ -542,6 +542,9 @@ public class SwerveDrive
maxSpeedMPS,
attainableMaxTranslationalSpeedMetersPerSecond,
attainableMaxRotationalVelocityRadiansPerSecond);
} else
{
SwerveDriveKinematics.desaturateWheelSpeeds(desiredStates, maxSpeedMPS);
}
// Sets states