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.
2 parents a00304f + 43cd53c commit 365d6fcCopy full SHA for 365d6fc
robot.py
@@ -250,10 +250,8 @@ def testPeriodic(self) -> None:
250
self.algae_shooter.shoot()
251
252
if self.gamepad.getYButtonPressed():
253
- if self.climber_state_machine.current_state == "deploying":
254
- self.climber_state_machine.retract()
255
- else:
256
- self.climber_state_machine.deploy()
+ self.climber.go_to_deploy()
+ self.climber.start_pid_update()
257
258
if self.gamepad.getXButton():
259
self.coral_depositor_component.deposit()
0 commit comments