Skip to content

Commit

Permalink
Final code update for Macomb
Browse files Browse the repository at this point in the history
  • Loading branch information
Isabella Haladjian committed Mar 31, 2022
1 parent 76a3b84 commit 9f0b97d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/main/java/com/team3175/frc2022/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,16 @@ private void configureButtonBindings() {
m_climbDown.whenHeld(new OverrideClimbDown(m_climber, Constants.CLIMBER_SPEED))
.whenReleased(new InstantCommand(() -> m_climber.overrideStop()));

//Climber Lock -> Start Button
m_lockClimber.whenPressed(new InstantCommand(() -> m_climber.lockPneumatics()));

//Climber Unlock -> Back Button
m_unlockClimber.whenPressed(new InstantCommand(() -> m_climber.unlockPneumatics()));

//Passive Hooks Release -> Right Joystick Button
m_passiveHooksUp.whenPressed(new SetHookState(m_climber, "up"));

//Passive Hooks Lock -> B Button
m_passiveHooksDown.whenPressed(new SetHookState(m_climber, "down"));


Expand Down

0 comments on commit 9f0b97d

Please sign in to comment.