From a4789c9f6191ad2f7d49da6874d9ebdd2a583a66 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Tue, 26 May 2026 15:53:05 -0500 Subject: [PATCH] i6 --- opendbc_repo/opendbc/car/hyundai/interface.py | 6 +++--- opendbc_repo/opendbc/car/hyundai/tests/test_hyundai.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/opendbc_repo/opendbc/car/hyundai/interface.py b/opendbc_repo/opendbc/car/hyundai/interface.py index 0ed1cf264..eece350af 100644 --- a/opendbc_repo/opendbc/car/hyundai/interface.py +++ b/opendbc_repo/opendbc/car/hyundai/interface.py @@ -177,9 +177,9 @@ class CarInterface(CarInterfaceBase): if ret.flags & HyundaiFlags.NON_SCC: ret.alphaLongitudinalAvailable = False ret.openpilotLongitudinalControl = alpha_long and ret.alphaLongitudinalAvailable - # When longitudinal is enabled, we disable the ADAS ECU which stops radar messages - # Force radarUnavailable to prevent CAN Error from missing radar messages - if ret.openpilotLongitudinalControl and not (candidate == CAR.HYUNDAI_IONIQ_6 and radar_tracks_available): + # When longitudinal is enabled, we disable the ADAS ECU which stops radar messages. + # Keep Ioniq 6 radar tracks probe-only until a harness path can provide them reliably. + if ret.openpilotLongitudinalControl: ret.radarUnavailable = True ret.pcmCruise = not ret.openpilotLongitudinalControl apply_platform_longitudinal_params(ret) diff --git a/opendbc_repo/opendbc/car/hyundai/tests/test_hyundai.py b/opendbc_repo/opendbc/car/hyundai/tests/test_hyundai.py index a51e364e7..cf3ad3512 100644 --- a/opendbc_repo/opendbc/car/hyundai/tests/test_hyundai.py +++ b/opendbc_repo/opendbc/car/hyundai/tests/test_hyundai.py @@ -149,7 +149,7 @@ class TestHyundaiFingerprint: fingerprint[1][MRR35_RADAR_START_ADDR] = 24 CP = CarInterface.get_params(CAR.HYUNDAI_IONIQ_6, fingerprint, [], True, False, False, None) assert CP.openpilotLongitudinalControl - assert not CP.radarUnavailable + assert CP.radarUnavailable for candidate in HYUNDAI_NON_SCC_CARS: CP = CarInterface.get_params(candidate, gen_empty_fingerprint(), [], True, False, False, None)