From d1923f7dc6f4b5c43f4d841bbf9efd3e9784de01 Mon Sep 17 00:00:00 2001 From: dragonpilot Date: Mon, 30 Sep 2019 12:47:25 +1000 Subject: [PATCH] Fix missing curvature_factor val --- selfdrive/controls/lib/pathplanner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/controls/lib/pathplanner.py b/selfdrive/controls/lib/pathplanner.py index 10c22a92e..d73ec9e3b 100644 --- a/selfdrive/controls/lib/pathplanner.py +++ b/selfdrive/controls/lib/pathplanner.py @@ -66,7 +66,7 @@ class PathPlanner(object): else: curvfac = 0. - #curvature_factor = VM.curvature_factor(v_ego) + curvfac + curvature_factor = VM.curvature_factor(v_ego) + curvfac # TODO: Check for active, override, and saturation # if active: