Testing and fixing the intake

This commit is contained in:
mayabartels
2020-02-25 19:32:43 -07:00
parent 29a2dae680
commit 1bad4f73f4
2 changed files with 4 additions and 4 deletions
@@ -154,8 +154,8 @@ public class RobotContainer {
.whileHeld(new TrackTarget(m_robotShooter));
//Prepares storage for intaking
new JoystickButton(getOperatorJoystick(), XboxController.LEFT_TRIGGER_AXIS)
.whileHeld(new StorageIntakeGroup(m_robotIntake, m_robotStorage));
new JoystickButton(getOperatorJoystick(), XboxController.RIGHT_BUMPER_BUTTON)
.whileHeld(new InstantCommand(() -> m_robotIntake.runIntake(0.3), m_robotIntake));
//Runs storage to outtake
new JoystickButton(getOperatorJoystick(), XboxController.RIGHT_TRIGGER_AXIS)