Skip to content

Commit

Permalink
drive kp changed. old 2.5, new 2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ApplePiRobot committed May 23, 2024
1 parent 14f97bf commit 6e6b794
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/swerve/DriveMotor.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public class DriveMotor {

// PID.
private static final int K_TIMEOUT_MS = 10;
private static final Slot0Configs PID_GAINS = new Slot0Configs().withKP(2.5).withKV(0.4);
private static final Slot0Configs PID_GAINS = new Slot0Configs().withKP(2.2).withKV(0.4);

private static final double FALCON_500_MAX_SPEED_RPS = 6380.0 / 60.0;
private static final MotionMagicConfigs MOTION_MAGIC_CONFIGS = new MotionMagicConfigs()
Expand Down

0 comments on commit 6e6b794

Please sign in to comment.