Skip to content

Commit

Permalink
Use the variable for withSpeedAt12VoltsMps swerve setting
Browse files Browse the repository at this point in the history
  • Loading branch information
IanTapply22 committed Jan 4, 2024
1 parent 0578a87 commit 2d27867
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public class SwerveModulePosition {
.withSteerMotorGains(steerGains)
.withDriveMotorGains(driveGains)
.withSpeedAt12VoltsMps(
6) // Theoretical free speed is 10 meters per second at 12v applied output
kSpeedAt12VoltsMps) // Theoretical free speed is 10 meters per second at 12v applied output
.withSteerInertia(Intertia.kSteerInertia)
.withDriveInertia(Intertia.kDriveInertia)
.withFeedbackSource(SteerFeedbackType.FusedCANcoder)
Expand Down

0 comments on commit 2d27867

Please sign in to comment.