From ae2b9a2c78c4554c3075d98eecf08ff6ca8d65e3 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Fri, 26 Apr 2024 00:57:32 -0400 Subject: [PATCH] lead car status icon on cluster --- opendbc | 2 +- selfdrive/car/hyundai/hyundaicanfd.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opendbc b/opendbc index 3a933ccc7f..ae7c6c1afa 160000 --- a/opendbc +++ b/opendbc @@ -1 +1 @@ -Subproject commit 3a933ccc7f2a0f92ffcdc60d336c3a0680080297 +Subproject commit ae7c6c1afaada0652790f1c0ed8099ace4c8a958 diff --git a/selfdrive/car/hyundai/hyundaicanfd.py b/selfdrive/car/hyundai/hyundaicanfd.py index 980545a8b2..20522665e2 100644 --- a/selfdrive/car/hyundai/hyundaicanfd.py +++ b/selfdrive/car/hyundai/hyundaicanfd.py @@ -216,7 +216,7 @@ def create_acc_commands_can_canfd(packer, CAN, enabled, accel, idx, lead_visible ("SCC14", { "ACC_ObjLatPos": 0, "ObjValid": 0, - "ObjGap": 2 if lead_visible else 0, + "ObjStatus": 2 if lead_visible and enabled else 1, }), ("FCA11", {