Skip to content

Commit

Permalink
Fixed angle mistake made by me
Browse files Browse the repository at this point in the history
  • Loading branch information
BrandonS09 committed Mar 3, 2024
1 parent d14677e commit 8775659
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/carlmontrobotics/subsystems/Arm.java
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ public Arm() {
armPIDMaster.setFeedbackDevice(armMasterEncoder);
armPIDMaster.setPositionPIDWrappingEnabled(true);
armPIDMaster.setPositionPIDWrappingMinInput(MathUtil.angleModulus(LOWER_ANGLE_LIMIT));
armPIDMaster.setPositionPIDWrappingMaxInput(MathUtil.angleModulus(LOWER_ANGLE_LIMIT));
armPIDMaster.setPositionPIDWrappingMaxInput(MathUtil.angleModulus(UPPER_ANGLE_LIMIT));
//two PIDs?
armPIDFollower.setFeedbackDevice(armMotorFollower.getEncoder());
armPIDFollower.setPositionPIDWrappingEnabled(true);
Expand Down

0 comments on commit 8775659

Please sign in to comment.