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 f75a906 commit 836e55fCopy full SHA for 836e55f
robot.py
@@ -309,13 +309,7 @@ def testPeriodic(self) -> None:
309
self.climber_state_machine.deploy_without_localization()
310
311
if self.gamepad.getAButton():
312
- if (
313
- self.climber_state_machine.current_state == "pre_climbing"
314
- and self.climber_state_machine.is_ready_to_climb()
315
- ) or self.climber_state_machine.current_state == "retracting":
316
- self.climber_state_machine.retract()
317
- else:
318
- self.climber_state_machine.pre_climb()
+ self.climber_state_machine.retract()
319
320
if self.gamepad.getXButton():
321
self.coral_depositor_component.deposit()
0 commit comments