diff --git a/src/main/java/swervelib/SwerveDrive.java b/src/main/java/swervelib/SwerveDrive.java index dbfe190b..1645b300 100644 --- a/src/main/java/swervelib/SwerveDrive.java +++ b/src/main/java/swervelib/SwerveDrive.java @@ -335,7 +335,7 @@ public SwerveDrive( HAL.report(kResourceType_RobotDrive, kRobotDriveSwerve_YAGSL); // Defaulting to something reasonable for most robots - setMaximumAttainableSpeeds(12, 2 * Math.PI); + setMaximumAttainableSpeeds(maxSpeedMPS, 2 * Math.PI); } /**