Skip to content
This repository has been archived by the owner on Apr 20, 2024. It is now read-only.

Commit

Permalink
Improve transition from scoring to idle
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahsnider committed Feb 24, 2024
1 parent 4d2d266 commit 7b65991
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/frc/robot/robot_manager/RobotManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,7 @@ public void robotPeriodic() {
case SUBWOOFER_SHOOT:
case SPEAKER_SHOOT:
case AMP_SHOT:
if (noteManager.getState() == NoteState.IDLE_NO_GP
&& wrist.atAngle(WristPositions.STOWED)) {
if (noteManager.getState() == NoteState.IDLE_NO_GP) {
state = RobotState.IDLE_NO_GP;
}
break;
Expand Down

0 comments on commit 7b65991

Please sign in to comment.