mirror of
https://github.com/Team4388/2026KPopRobotHunters.git
synced 2026-06-09 00:38:03 -06:00
extending and retracting buttons
x and y using percenoutput
This commit is contained in:
@@ -269,7 +269,17 @@ public class RobotContainer {
|
||||
.onFalse(new InstantCommand(() -> {
|
||||
m_robotShooter.setShooterNotReady();
|
||||
}));
|
||||
|
||||
|
||||
new JoystickButton(getDeadbandedOperatorController(), XboxController.Y_BUTTON)
|
||||
.onFalse(new InstantCommand(() -> {
|
||||
m_robotIntake.setMode(IntakeMode.Retracting);
|
||||
}));
|
||||
|
||||
new JoystickButton(getDeadbandedOperatorController(), XboxController.X_BUTTON)
|
||||
.onFalse(new InstantCommand(() -> {
|
||||
m_robotShooter.setShooterNotReady();
|
||||
m_robotIntake.setMode(IntakeMode.Extending);
|
||||
}));
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user