Adjustment of csv values

This commit is contained in:
Aarav Shah
2021-03-09 17:54:52 -07:00
parent 2f2a01e95d
commit c5c38d3017
2 changed files with 7 additions and 9 deletions
@@ -236,14 +236,14 @@ public class RobotContainer {
// extends or retracts the extender
new JoystickButton(getOperatorJoystick(), XboxController.X_BUTTON)
//.whileHeld(new RunCommand(() -> m_robotIntake.runExtender(0.5)))
//.whenReleased(new InstantCommand(() -> m_robotIntake.runExtender(0)));
.whileHeld(new RunCommand(() -> m_robotShooterHood.runHood(0.2), m_robotShooterHood));
.whileHeld(new RunCommand(() -> m_robotIntake.runExtender(0.5)))
.whenReleased(new InstantCommand(() -> m_robotIntake.runExtender(0)));
//.whileHeld(new RunCommand(() -> m_robotShooterHood.runHood(0.2), m_robotShooterHood));
new JoystickButton(getOperatorJoystick(), XboxController.Y_BUTTON)
//.whileHeld(new RunCommand(() -> m_robotIntake.runExtender(-0.5)))
//.whenReleased(new InstantCommand(() -> m_robotIntake.runExtender(0)));
.whileHeld(new RunCommand(() -> m_robotShooterHood.runHood(-0.2), m_robotShooterHood));
.whileHeld(new RunCommand(() -> m_robotIntake.runExtender(-0.5)))
.whenReleased(new InstantCommand(() -> m_robotIntake.runExtender(0)));
//.whileHeld(new RunCommand(() -> m_robotShooterHood.runHood(-0.2), m_robotShooterHood));
// safety for climber and leveler
new JoystickButton(getOperatorJoystick(), XboxController.BACK_BUTTON)