Skip to content

Commit

Permalink
Remapped the slow down button from X to right bumper
Browse files Browse the repository at this point in the history
  • Loading branch information
Tsunami014 committed Mar 16, 2024
1 parent f67e1c2 commit bdd7b7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robot.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def teleopPeriodic(self) -> None:
# Set max speed
max_speed = self.max_speed
max_spin_rate = self.max_spin_rate
if self.gamepad.getXButton():
if self.gamepad.getRightBumper():
max_speed = self.lower_max_speed
max_spin_rate = self.lower_max_spin_rate

Expand Down

0 comments on commit bdd7b7f

Please sign in to comment.