From 659b3e345d00046333f27d91e831d6da7d4f89d2 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Thu, 30 Jun 2022 15:01:52 -0700 Subject: [PATCH] Toyota: fix BSM detection (#24964) * revert to 1 second * Revert "revert to 1 second" This reverts commit 6ab3f75cb73fdfe254431c479b6d337030b0d538. * Revert "remove toyota can fingerprinting exceptions (#22803)" This reverts commit 55b51079705e0b7f2ef8acf5096c635b62f6648f. fix static analysis * Revert "Revert "remove toyota can fingerprinting exceptions (#22803)"" This reverts commit fc359fc9b2db146d77b6533be9e7434f08a665df. * 1 second for all brands * update refs Co-authored-by: Adeeb Shihadeh old-commit-hash: f0062f624260bcbdadeec643c993ac597b73c4fc --- selfdrive/car/car_helpers.py | 2 +- selfdrive/test/process_replay/ref_commit | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/car_helpers.py b/selfdrive/car/car_helpers.py index 8c0fd7c90d..7f83732153 100644 --- a/selfdrive/car/car_helpers.py +++ b/selfdrive/car/car_helpers.py @@ -115,7 +115,7 @@ def fingerprint(logcan, sendcan): finger = gen_empty_fingerprint() candidate_cars = {i: all_legacy_fingerprint_cars() for i in [0, 1]} # attempt fingerprint on both bus 0 and 1 frame = 0 - frame_fingerprint = 25 # 0.25s + frame_fingerprint = 100 # 1s car_fingerprint = None done = False diff --git a/selfdrive/test/process_replay/ref_commit b/selfdrive/test/process_replay/ref_commit index c3e8eca42d..b9ba47e8f7 100644 --- a/selfdrive/test/process_replay/ref_commit +++ b/selfdrive/test/process_replay/ref_commit @@ -1 +1 @@ -a9adebff7ce27d6233d443217a30337b761898ee \ No newline at end of file +a98dfc72bb4c5624c2223ca65d52b151f419460c \ No newline at end of file