Skip to content

Commit

Permalink
python swerve fix
Browse files Browse the repository at this point in the history
  • Loading branch information
bhall-ctre committed Oct 23, 2024
1 parent 14b667a commit cd44309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/SwerveWithPathPlanner/robotcontainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def configureButtonBindings(self) -> None:

# reset the field-centric heading on left bumper press
self._joystick.leftBumper().onTrue(
self.drivetrain.runOnce(lambda: self.drivetrain.seed_field_centric())
self.drivetrain.runOnce(lambda: self.drivetrain.seed_field_relative())
)

self.drivetrain.register_telemetry(
Expand Down

0 comments on commit cd44309

Please sign in to comment.