Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
do not require shooter on ramp throttle
Browse files Browse the repository at this point in the history
  • Loading branch information
Ernie3 committed Mar 7, 2024
1 parent b904eb5 commit ccfaf7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -355,8 +355,8 @@ private void configureOperatorStickBindings() {
// resetPoseWithVision.onFalse(new InstantCommand(() -> swerveDrive.fullyTrustVision = false));

Trigger rampShooter = new Trigger(operatorStick::getShooterRamping);
rampShooter.onTrue(new InstantCommand(() -> shooter.setVelocity(10), shooter));
rampShooter.onFalse(new InstantCommand(() -> shooter.stopShooting(), shooter));
rampShooter.onTrue(new InstantCommand(() -> shooter.setVelocity(10)));
rampShooter.onFalse(new InstantCommand(() -> shooter.stopShooting()));
}

/**
Expand Down

0 comments on commit ccfaf7c

Please sign in to comment.