Skip to content

Commit

Permalink
[#526] Whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
WindowsVistaisCool committed Apr 8, 2024
1 parent 7f2b48a commit c7fbd7d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -254,14 +254,14 @@ protected void configureButtonBindings() {
new Trigger(() -> driver.getPOV() == 0).toggleOnTrue(leds.enableState(LED_STATES.DISABLED));

/* COPILOT */
// new Trigger(coPilot::getBButton)
// .whileTrue(new InstantCommand(() -> flywheel.stop(), flywheel)
// .andThen(new SmartCollect(() -> 0.65, () -> 0.9, collector, indexer, pivot, flywheel))
// .deadlineWith(leds.enableState(LED_STATES.COLLECTING)));

new Trigger(coPilot::getBButton)
.whileTrue(new AutonSmartCollect(() -> 0.65, () -> 0.75, collector, indexer)
.deadlineWith(leds.enableState(LED_STATES.COLLECTING).withTimeout(1)));
.whileTrue(new InstantCommand(() -> flywheel.stop(), flywheel)
.andThen(new SmartCollect(() -> 0.65, () -> 0.9, collector, indexer, pivot, flywheel))
.deadlineWith(leds.enableState(LED_STATES.COLLECTING)));

// new Trigger(coPilot::getBButton)
// .whileTrue(new AutonSmartCollect(() -> 0.65, () -> 0.75, collector, indexer)
// .deadlineWith(leds.enableState(LED_STATES.COLLECTING).withTimeout(1)));

// cand shots for the robot
new Trigger(coPilot::getXButton)
Expand Down

0 comments on commit c7fbd7d

Please sign in to comment.