mirror of
https://github.com/BroncBotz3481/YAGSL
synced 2026-06-19 06:21:40 +00:00
Added back wheel speed desaturation
This commit is contained in:
@@ -542,6 +542,9 @@ public class SwerveDrive
|
||||
maxSpeedMPS,
|
||||
attainableMaxTranslationalSpeedMetersPerSecond,
|
||||
attainableMaxRotationalVelocityRadiansPerSecond);
|
||||
} else
|
||||
{
|
||||
SwerveDriveKinematics.desaturateWheelSpeeds(desiredStates, maxSpeedMPS);
|
||||
}
|
||||
|
||||
// Sets states
|
||||
|
||||
Reference in New Issue
Block a user