Skip to content

Commit

Permalink
Ignore disable on houndbrian
Browse files Browse the repository at this point in the history
  • Loading branch information
superpenguin612 committed Mar 21, 2024
1 parent 07f05d9 commit bc62454
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main/java/frc/robot/HoundBrian.java
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit bc62454

Please sign in to comment.