Update RobotContainer.java

This commit is contained in:
ryan123rudder
2020-02-29 09:58:53 -07:00
committed by GitHub
parent 8704cf515f
commit 8eddfff30c
@@ -169,8 +169,8 @@ public class RobotContainer {
.whileHeld(new TrackTarget(m_robotShooter));
//Prepares storage for intaking
new JoystickButton(getOperatorJoystick(), XboxController.RIGHT_BUMPER_BUTTON)
.whileHeld(new InstantCommand(() -> m_robotIntake.runIntake(0.3), m_robotIntake));
new JoystickButton(getOperatorJoystick(), XboxController.LEFT_TRIGGER_AXIS)
.whileHeld(new StorageIntakeGroup(m_robotIntake, m_robotStorage));
//Runs storage to outtake
new JoystickButton(getOperatorJoystick(), XboxController.RIGHT_TRIGGER_AXIS)