Skip to content

Commit

Permalink
pid and thresh for aimbot static
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchen20 committed Jul 23, 2024
1 parent 4a05f31 commit 0e925a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/commands/AimbotStatic.java
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ public AimbotStatic(

switch (Constants.currentMode) {
case REAL:
gains[0] = 2.5;
gains[0] = 3.;
gains[1] = 0;
gains[2] = 0;
break;
Expand All @@ -79,7 +79,7 @@ public AimbotStatic(
}

pid = new PIDController(gains[0], gains[1], gains[2], 0.02);
pid.setTolerance(3);
pid.setTolerance(4);
pid.enableContinuousInput(-180, 180);
}

Expand Down

0 comments on commit 0e925a7

Please sign in to comment.