From e636f03c7a9ad963f728e400cb1bfced4d37a5ac Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Tue, 5 Oct 2021 23:32:39 +0200 Subject: [PATCH] Set CarControl.active (#22442) * Set CarControl.active * 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 099ffea7c..60a21e33c 100755 --- a/selfdrive/controls/controlsd.py +++ b/selfdrive/controls/controlsd.py @@ -537,6 +537,7 @@ class Controls: CC = car.CarControl.new_message() CC.enabled = self.enabled + CC.active = self.active CC.actuators = actuators CC.cruiseControl.cancel = CS.cruiseState.enabled and (not self.enabled or not self.CP.pcmCruise) diff --git a/selfdrive/test/process_replay/ref_commit b/selfdrive/test/process_replay/ref_commit index e43b5d39e..3d2d0179d 100644 --- a/selfdrive/test/process_replay/ref_commit +++ b/selfdrive/test/process_replay/ref_commit @@ -1 +1 @@ -58c5a740a25da4e70899a0466c336a7b5838f394 \ No newline at end of file +7736bb61869f54225a66f6cf1c43086c3fb9b507 \ No newline at end of file