diff --git a/selfdrive/car/fw_versions.py b/selfdrive/car/fw_versions.py index 7493c33b7b..d143629afa 100755 --- a/selfdrive/car/fw_versions.py +++ b/selfdrive/car/fw_versions.py @@ -104,6 +104,8 @@ def match_fw_to_car_fuzzy(fw_versions_dict, config, log=True, exclude=None): elif candidate != candidates[0]: return set() + # Note that it is possible to match to a candidate without all its ECUs being present + # if there are enough matches. FIXME: parameterize this or require all ECUs to exist like exact matching if len(matched_ecus) >= config.fuzzy_min_match_count: if log: cloudlog.error(f"Fingerprinted {candidate} using fuzzy match. {len(matched_ecus)} matching ECUs")