diff --git a/selfdrive/controls/lib/pathplanner.py b/selfdrive/controls/lib/pathplanner.py index 5c7953390be2d7..38f74dbaf8ab03 100644 --- a/selfdrive/controls/lib/pathplanner.py +++ b/selfdrive/controls/lib/pathplanner.py @@ -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