Skip to content

Commit

Permalink
reset rumbled variables to false after intaking
Browse files Browse the repository at this point in the history
  • Loading branch information
Yumnah2 committed Mar 19, 2024
1 parent 4eef46e commit 2c47282
Showing 1 changed file with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void execute() {
}
}

// back intake sensor does not exist ._.
// back intake sensor does not exist (but it might?)

if (intakeSubsystem.intakeLeftSeesNote()) {
if (!intakeSubsystem.getRejectOverride()) {
Expand Down Expand Up @@ -112,6 +112,11 @@ public void end(boolean interrupted) {
if (controls != null) {
Commands.race(new RumbleCommand(controls), new WaitCommand(3)).schedule();
}

rumbledIntakeFront = false;
rumbledIntakeLeft = false;
rumbledIntakeRight = false;
rumbledIndex = false;
}

@Override
Expand Down

0 comments on commit 2c47282

Please sign in to comment.