Skip to content

Commit

Permalink
Fix ACLnudgeless setting ignored (commaai#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleBoyer authored and kegman committed Dec 23, 2019
1 parent 18d9d01 commit 781965a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion selfdrive/controls/lib/pathplanner.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def __init__(self, CP):
self.steerRateCost_prev = self.steerRateCost
self.setup_mpc()

self.alc_nudge_less = bool(kegman.conf['ALCnudgeLess'])
self.alc_nudge_less = bool(int(kegman.conf['ALCnudgeLess']))
self.alc_min_speed = float(kegman.conf['ALCminSpeed'])

self.lane_change_state = LaneChangeState.off
Expand Down

0 comments on commit 781965a

Please sign in to comment.