Skip to content

Commit

Permalink
Merge pull request #123 from frc937/intake-ls
Browse files Browse the repository at this point in the history
Disabled mailbox limit switch
  • Loading branch information
willitcode authored Mar 12, 2024
2 parents c90196c + d654ed0 commit 248abc5
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions src/main/java/frc/robot/commands/mailbox/DeindexNote.java
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,15 @@ public void initialize() {}
@Override
public void execute() {
/* If the mailbox is fully raised, run the intake. */
if (mailbox.getLimitSwitch()) {
intake.runIntake();
}
/* This else isn't neccessary, just advised for safety. If it interferes with anything, feel free to remove it. */
else {
intake.stop();
}
// if (mailbox.getLimitSwitch()) {
// intake.runIntake();
// }
// /* This else isn't neccessary, just advised for safety. If it interferes with anything, feel
// free to remove it. */
// else {
// intake.stop();
// }
intake.runIntake();
}

// Called once the command ends or is interrupted.
Expand Down

0 comments on commit 248abc5

Please sign in to comment.