diff --git a/sunnypilot/selfdrive/controls/dec/helpers.py b/sunnypilot/selfdrive/controls/dec/helpers.py index 3ad5e8a5b4..c35d55e5b0 100644 --- a/sunnypilot/selfdrive/controls/dec/helpers.py +++ b/sunnypilot/selfdrive/controls/dec/helpers.py @@ -1,4 +1,4 @@ -from cereal import custom +from cereal import custom, messaging MpcSource = custom.MpcSource def get_mpc_mode(sm, dynamic_experimental_controller, mpc, CP): @@ -39,4 +39,4 @@ def publish_longitudinal_plan_sp(sm, pm, mpc, dynamic_experimental_controller): print(f"dynamicExperimentalControl: {longitudinalPlanSP.dynamicExperimentalControl}") - pm.send('longitudinalPlanSP', plan_sp_send) \ No newline at end of file + pm.send('longitudinalPlanSP', plan_sp_send)