Skip to content

Commit

Permalink
Tune PID
Browse files Browse the repository at this point in the history
  • Loading branch information
viggy96 committed Oct 22, 2024
1 parent 63f6966 commit 1e60139
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/lasarobotics/drive/MAXSwerveModule.java
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,8 @@ private GearRatio(double value) {
private final int COSINE_CORRECTION;

// Swerve velocity PID settings
private static final double DRIVE_VELOCITY_kP = 0.6;
private static final double DRIVE_VELOCITY_kD = 0.003;
private static final double DRIVE_VELOCITY_kP = 0.4;
private static final double DRIVE_VELOCITY_kD = 0.002;
private static final double DRIVE_VELOCITY_kS = 0.2;
private static final double DRIVE_VELOCITY_kA = 0.5;
private static final double DRIVE_VELOCITY_TOLERANCE = 0.01;
Expand Down

0 comments on commit 1e60139

Please sign in to comment.