Merge remote-tracking branch 'upstream/master' into hkg-fuzzy

pull/26939/head
Shane Smiskol 2 years ago
commit c80a96448b
  1. 2
      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")

Loading…
Cancel
Save