From 7d30d12faac706eca77d7aa0e0ce9c26b9e5428e Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Sat, 15 Oct 2022 01:58:48 -0400 Subject: [PATCH] Gate radar disable behind camera SCC cars --- selfdrive/car/hyundai/interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/hyundai/interface.py b/selfdrive/car/hyundai/interface.py index 02720ecfe0..55a3a4399a 100644 --- a/selfdrive/car/hyundai/interface.py +++ b/selfdrive/car/hyundai/interface.py @@ -360,7 +360,7 @@ class CarInterface(CarInterfaceBase): @staticmethod def init(CP, logcan, sendcan): - if CP.openpilotLongitudinalControl: + if CP.openpilotLongitudinalControl and CP.carFingerprint not in CAMERA_SCC_CAR: addr, bus = 0x7d0, 0 if CP.flags & HyundaiFlags.CANFD_HDA2.value: addr, bus = 0x730, 5