Skip to content

Commit

Permalink
Update kSpeedAt12VoltsMps
Browse files Browse the repository at this point in the history
  • Loading branch information
bhall-ctre committed May 29, 2024
1 parent 23b352e commit 6596a61
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class TunerConstants {
// The steer motor uses any SwerveModule.SteerRequestType control request with the
// output type specified by SwerveModuleConstants.SteerMotorClosedLoopOutput
private static final Slot0Configs steerGains = new Slot0Configs()
.withKP(100).withKI(0).withKD(0.05)
.withKP(100).withKI(0).withKD(0.2)
.withKS(0).withKV(1.5).withKA(0);
// When using closed-loop control, the drive motor uses the control
// output type specified by SwerveModuleConstants.DriveMotorClosedLoopOutput
Expand Down Expand Up @@ -58,7 +58,7 @@ public class TunerConstants {

// Theoretical free speed (m/s) at 12v applied output;
// This needs to be tuned to your individual robot
public static final double kSpeedAt12VoltsMps = 5.0;
public static final double kSpeedAt12VoltsMps = 4.70;

// Every 1 rotation of the azimuth results in kCoupleRatio drive motor turns;
// This may need to be tuned to your individual robot
Expand Down

0 comments on commit 6596a61

Please sign in to comment.