From bc6245414b6d10c026d239db41400e70387cdcb0 Mon Sep 17 00:00:00 2001 From: superpenguin612 <74030080+superpenguin612@users.noreply.github.com> Date: Thu, 21 Mar 2024 13:08:56 -0400 Subject: [PATCH] Ignore disable on houndbrian --- src/main/java/frc/robot/HoundBrian.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/frc/robot/HoundBrian.java b/src/main/java/frc/robot/HoundBrian.java index 95a4501..3cc6fa9 100644 --- a/src/main/java/frc/robot/HoundBrian.java +++ b/src/main/java/frc/robot/HoundBrian.java @@ -51,22 +51,22 @@ public HoundBrian(Drivetrain drivetrain, Intake intake, ShooterTilt shooterTilt, // .and(new Trigger(intakeButton::get).negate().debounce(2, // DebounceType.kFalling)) .and(DriverStation::isDisabled) - .onTrue(intake.resetPositionCommand()); + .onTrue(intake.resetPositionCommand().ignoringDisable(true)); new Trigger(shooterTiltButton::get).negate() // .and(new Trigger(shooterTiltButton::get).negate().debounce(2, // DebounceType.kFalling)) .and(DriverStation::isDisabled) - .onTrue(shooterTilt.resetPositionCommand()); + .onTrue(shooterTilt.resetPositionCommand().ignoringDisable(true)); new Trigger(climberButton::get).negate() // .and(new Trigger(climberButton::get).negate().debounce(2, // DebounceType.kFalling)) .and(DriverStation::isDisabled) - .onTrue(climber.resetPositionCommand()); + .onTrue(climber.resetPositionCommand().ignoringDisable(true)); new Trigger(noteLiftButton::get).negate() // .and(new Trigger(noteLiftButton::get).negate().debounce(2, // DebounceType.kFalling)) .and(DriverStation::isDisabled) - .onTrue(noteLift.resetPositionCommand()); + .onTrue(noteLift.resetPositionCommand().ignoringDisable(true)); // new Trigger(intakeButton::get).debounce(3, DebounceType.kBoth) // .and(DriverStation::isDisabled)