From a19c45d5a20e7ff02b83a0194c65969fe0ebdc53 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Sun, 10 Dec 2023 12:13:34 -0500 Subject: [PATCH] Hyundai CAN: Enable radar tracks for certain Sante Fe platforms at all times --- 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 fb605844ac..5dbb3bd7c8 100644 --- a/selfdrive/car/hyundai/interface.py +++ b/selfdrive/car/hyundai/interface.py @@ -379,7 +379,7 @@ class CarInterface(CarInterfaceBase): # for enabling radar tracks on startup # some CAN platforms are able to enable radar tracks config at the radar ECU, # but the config is reset after ignition cycle - if CP.openpilotLongitudinalControl and (CP.spFlags & HyundaiFlagsSP.SP_RADAR_TRACKS): + if CP.spFlags & HyundaiFlagsSP.SP_RADAR_TRACKS: enable_radar_tracks(logcan, sendcan, bus=0, addr=0x7d0, config_data_id=b'\x01\x42') def _update(self, c):