From 3a9dfac16cc5e7d9ed5777b58602fa16395b4a69 Mon Sep 17 00:00:00 2001 From: T Grinch <10247070+thenetworkgrinch@users.noreply.github.com> Date: Wed, 15 Jan 2025 08:49:50 -0600 Subject: [PATCH] =?UTF-8?q?Fix=20=E2=80=9Cslow=E2=80=9D=20drive?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/swervelib/SwerveDrive.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } /**