Skip to content

Commit

Permalink
edge cases to driveArm()
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonS09 committed Mar 5, 2024
1 parent f678c1d commit 9d00521
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/org/carlmontrobotics/subsystems/Arm.java
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,9 @@ private void driveArm() {
if (armAtSetpoint()){
armPIDMaster.setIZone(Double.POSITIVE_INFINITY);//turns off pid once it reaches the setpoint
}
else {
armPIDMaster.setIZone(IZONE);
}

}

Expand Down

0 comments on commit 9d00521

Please sign in to comment.