From b7baeac19c18b5aa0c31da52f12054f4bae6e1ff Mon Sep 17 00:00:00 2001 From: Cameron Clough Date: Sat, 9 Mar 2024 19:25:44 +0000 Subject: [PATCH] remove PSCM from PLATFORM_CODE_ECUS ABS and IPMA are the best for uniquely matching, and the radar is always required --- selfdrive/car/ford/values.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/ford/values.py b/selfdrive/car/ford/values.py index c6cdc185f6..947e97132f 100644 --- a/selfdrive/car/ford/values.py +++ b/selfdrive/car/ford/values.py @@ -214,8 +214,10 @@ def match_fw_to_car_fuzzy(live_fw_versions: LiveFwVersions, offline_fw_versions: return candidates -# All of these ECUs must be present and are expected to have platform codes we can match -PLATFORM_CODE_ECUS = (Ecu.abs, Ecu.fwdCamera, Ecu.fwdRadar, Ecu.eps) +# All of these ECUs must be present and are expected to have platform codes we can match. +# ABS and IPMA are the best for uniquely matching, and the radar is always required to be compatible. +# We can remove the radar later if compatibility != fingerprinting. +PLATFORM_CODE_ECUS = (Ecu.abs, Ecu.fwdCamera, Ecu.fwdRadar) DATA_IDENTIFIER_FORD_ASBUILT = 0xDE00