Skip to content

Commit

Permalink
add an extra button to shoot trough the midi
Browse files Browse the repository at this point in the history
this is a less smart shoot command just in case things go wrong with the arm, and also used for debugging.
  • Loading branch information
kytpbs committed Mar 28, 2024
1 parent 2847010 commit 3d8b184
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,9 @@ private void configureMidiBindings() {
new JoystickButton(midiController, 3)
.whileTrue(new SmartShootCommand(shooterSubsystem, intakeSubsystem));

new JoystickButton(midiController, 4)
.whileTrue(new SmartShootCommand(shooterSubsystem, intakeSubsystem));

new JoystickButton(midiController, 16)
.onTrue(
driveSubsystem.runOnce(driveSubsystem::toggleForceRobotOriented).ignoringDisable(true));
Expand Down

0 comments on commit 3d8b184

Please sign in to comment.