From c7fbd7d39631b3ab04cb022393a8a81b27e535f1 Mon Sep 17 00:00:00 2001 From: WindowsVistaisCool Date: Mon, 8 Apr 2024 19:37:35 -0400 Subject: [PATCH] [#526] Whoops --- src/main/java/frc/robot/RobotContainer.java | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 9824ace5..1ed2cbaf 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -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)