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

Commit

Permalink
Stub out button to get cargo out
Browse files Browse the repository at this point in the history
  • Loading branch information
nowireless committed Apr 10, 2022
1 parent 229568e commit 0c935d9
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,17 @@ private void configureButtonBindings() {
).withInterrupt(m_conveyor::isFull)
);

// JoystickButton outButton = new JoystickButton(m_controller, XboxController.Button.kX.value);
// outButton.whenHeld(
// new ParallelCommandGroup(
// new DeployIntakeCommand(m_intake),
// new SequentialCommandGroup(
// new WaitCommand(0.2),
// new RunConveyorCommand(m_conveyor, Direction.kDown)
// )
// )
// );

JoystickButton shootButton = new JoystickButton(m_controller, XboxController.Button.kRightBumper.value);
shootButton.whileHeld(
new SelectCommand(
Expand Down

0 comments on commit 0c935d9

Please sign in to comment.