This commit is contained in:
66945
2022-03-14 17:11:15 -06:00
parent abc2e8b05f
commit 946e7aee47
2 changed files with 1 additions and 2 deletions
@@ -320,7 +320,7 @@ public class RobotContainer {
.whenPressed(new Shoot(m_robotSwerveDrive, m_robotBoomBoom, m_robotTurret, m_robotHood));*/
new JoystickButton(getOperatorController(), XboxController.Button.kA.value)
.whenPressed(new RunCommand(() -> m_robotTurret.runshooterRotatePID(-44 * ShooterConstants.TURRET_DEGREES_PER_ROT), m_robotTurret));
.whileHeld(new RunCommand(() -> m_robotTurret.runshooterRotatePID(-44 * ShooterConstants.TURRET_DEGREES_PER_ROT), m_robotTurret));
//B > Shoot with Lime
new JoystickButton(getOperatorController(), XboxController.Button.kB.value)