Skip to content

Commit

Permalink
Backdrive intake in idle whilst not fully retracted
Browse files Browse the repository at this point in the history
  • Loading branch information
SebZanardo committed Mar 16, 2024
1 parent f67e1c2 commit 371b690
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions controllers/intake.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ def try_outtake(self) -> None:

@default_state
def idling(self) -> None:
if not self.intake_component.is_fully_retracted():
self.intake_component.backdrive_intake()
if not DriverStation.isAutonomous():
self.intake_component.retract()

Expand Down

0 comments on commit 371b690

Please sign in to comment.