Skip to content

Commit d78421f

Browse files
committed
elevator retract on drive RT
1 parent 03289a7 commit d78421f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/main/java/frc/robot/RobotContainer.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -803,6 +803,7 @@ private void driverControls() {
803803
new InstantCommand(() -> shooter.stopFeeders(), shooter)
804804
.andThen(new InstantCommand(() -> led.setState(LED_STATE.BLUE)))
805805
.andThen(new SetPivotTarget(Constants.PivotConstants.STOW_SETPOINT_DEG, pivot))
806+
.andThen(new SetElevatorTarget(Constants.ElevatorConstants.RETRACT_SETPOINT_INCH, Constants.ElevatorConstants.THRESHOLD, elevator))
806807
.andThen(new WaitCommand(0.5))
807808
.andThen(new InstantCommand(shooter::stopFlywheels))
808809
.andThen(new InstantCommand(() -> shooter.turnOffFan(), shooter)));

0 commit comments

Comments
 (0)