We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a6126e commit 7436454Copy full SHA for 7436454
robot.py
@@ -207,10 +207,13 @@ def teleopPeriodic(self) -> None:
207
if drive_z != 0:
208
self.chassis.stop_snapping()
209
210
- if self.gamepad.getLeftTriggerAxis() > 0.5:
+ if (
211
+ self.gamepad.getLeftTriggerAxis() > 0.5
212
+ and not self.reef_intake.is_executing
213
+ ):
214
self.floor_intake.intake()
215
- if self.gamepad.getLeftBumperButton():
216
+ if self.gamepad.getLeftBumperButton() and not self.floor_intake.is_executing:
217
self.reef_intake.intake()
218
219
if self.gamepad.getYButton():
0 commit comments