diff --git a/dp_ext b/dp_ext index 4a706ef13..22edb00ad 160000 --- a/dp_ext +++ b/dp_ext @@ -1 +1 @@ -Subproject commit 4a706ef132c381df1688bca15aa808f8250ef697 +Subproject commit 22edb00adc9231241c575b0fd1ba0ee479a2fd52 diff --git a/selfdrive/controls/lib/longitudinal_planner.py b/selfdrive/controls/lib/longitudinal_planner.py index 7f16f9ddd..5126f0dab 100755 --- a/selfdrive/controls/lib/longitudinal_planner.py +++ b/selfdrive/controls/lib/longitudinal_planner.py @@ -93,7 +93,12 @@ class LongitudinalPlanner: if self._dynamic_endtoend_controller.is_enabled(): self._dynamic_endtoend_controller.set_mpc_fcw_crash_cnt(self.mpc.crash_cnt) - self.mpc.mode = self._dynamic_endtoend_controller.get_mpc_mode(self.CP.radarUnavailable, sm['carState'], sm['radarState'].leadOne, sm['modelV2'], sm['controlsState'], sm['navInstruction'].maneuverDistance) + self.mpc.mode = self._dynamic_endtoend_controller.get_mpc_mode(self.CP.radarUnavailable, + sm['carState'], + sm['radarState'].leadOne, + sm['modelV2'], + sm['controlsState'] + ) #, sm['navInstruction'].maneuverDistance) else: self.mpc.mode = 'blended' if sm['controlsState'].experimentalMode else 'acc'