Skip to content

Commit

Permalink
changed stanley gain back to 2023 raceday value
Browse files Browse the repository at this point in the history
  • Loading branch information
Buggy committed Apr 3, 2024
1 parent c3420dd commit 14671ff
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion rb_ws/src/buggy/scripts/auton/stanley_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class StanleyController(Controller):
MAX_LOOK_AHEAD_DIST = 2

CROSS_TRACK_GAIN = 1
HEADING_GAIN = 0.3
# THIS GAIN SHOULD NOT EXIST, it should always be 1
HEADING_GAIN = 0.75

def __init__(self, buggy_name, start_index=0) -> None:
super(StanleyController, self).__init__(start_index, buggy_name)
Expand Down

0 comments on commit 14671ff

Please sign in to comment.