Skip to content

Commit

Permalink
Update src/main/java/frc/robot/subsystems/ArmRotate.java
Browse files Browse the repository at this point in the history
Co-authored-by: Ben Beauregard <bot190@gmail.com>
  • Loading branch information
CluelessSomething and bot190 authored Feb 11, 2025
1 parent 6754423 commit 003e675
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/ArmRotate.java
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ public Command moveToZero() {
getData().motor.setpoint = LOWER_SPEED;
level = ArmRotatePresets.OFF;
}).until(() -> {
return getArmAngle() < getMap().armRotatePreset.getValue(ArmRotatePresets.STOW);
return getArmAngle() > getMap().armRotatePreset.getValue(ArmRotatePresets.STOW);
});
}

Expand Down

0 comments on commit 003e675

Please sign in to comment.