Add up and down for storage thingy

This commit is contained in:
Rishabh
2020-02-13 19:07:36 -07:00
parent ee9bd4d301
commit 1463bd2094
2 changed files with 20 additions and 2 deletions
@@ -138,6 +138,9 @@ public class RobotContainer {
/* Storage Neo PID Test */
new JoystickButton(getOperatorJoystick(), XboxController.A_BUTTON)
.whileHeld(new RunCommand(() -> m_robotStorage.runStoragePositionPID(0.5)));
new JoystickButton(getOperatorJoystick(), XboxController.LEFT_TRIGGER_AXIS)
.whileHeld(new RunCommand(() -> m_robotStorage.storageIntake()));
}
/**