Skip to content

Commit 5a0bc8a

Browse files
Ensure lift is at STOW befoe starting intake
1 parent 850d0b2 commit 5a0bc8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/frc/robot/HeadHoncho.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void initialize() {
120120

121121
@Override
122122
public void execute() {
123-
if (LIFT_SUBSYSTEM.isLiftReady()) {
123+
if (LIFT_SUBSYSTEM.isAtState(TargetLiftStates.STOW) && LIFT_SUBSYSTEM.isLiftReady()) {
124124
INTAKE_SUBSYSTEM.startIntake();
125125
END_EFFECTOR_SUBSYSTEM.requestIntake();
126126
}

0 commit comments

Comments
 (0)