From 4f84e1b2ad689fb43b06d28def2bd58abf722748 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Mon, 6 Sep 2021 20:14:01 -0700 Subject: [PATCH] actually set longControlState in actuators packet (#22155) * actually set longControlState in actuators packet * update ref --- selfdrive/controls/controlsd.py | 1 + selfdrive/test/process_replay/ref_commit | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/selfdrive/controls/controlsd.py b/selfdrive/controls/controlsd.py index 89cd1e62fd..e2737ee053 100755 --- a/selfdrive/controls/controlsd.py +++ b/selfdrive/controls/controlsd.py @@ -450,6 +450,7 @@ class Controls: long_plan = self.sm['longitudinalPlan'] actuators = car.CarControl.Actuators.new_message() + actuators.longControlState = self.LoC.long_control_state if CS.leftBlinker or CS.rightBlinker: self.last_blinker_frame = self.sm.frame diff --git a/selfdrive/test/process_replay/ref_commit b/selfdrive/test/process_replay/ref_commit index 256ee05953..f405866e23 100644 --- a/selfdrive/test/process_replay/ref_commit +++ b/selfdrive/test/process_replay/ref_commit @@ -1 +1 @@ -d55568ec276ae8789faa1f69585f3c9ab7087205 \ No newline at end of file +f8e923d707fc37bdc06760c4d4a40425ad270d51 \ No newline at end of file