From 4ecbdb0d7adfe2b69f5dff34639cf5565fd5756d Mon Sep 17 00:00:00 2001 From: ZwX1616 Date: Tue, 12 May 2026 14:57:59 -0700 Subject: [PATCH] DM: reduce _DCAM_UNCERTAIN_RESET_COUNT to 2 sec (#38027) --- selfdrive/monitoring/policy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/monitoring/policy.py b/selfdrive/monitoring/policy.py index 2315fc04d3..cf784818ee 100644 --- a/selfdrive/monitoring/policy.py +++ b/selfdrive/monitoring/policy.py @@ -65,7 +65,7 @@ class DRIVER_MONITOR_SETTINGS: self._DCAM_UNCERTAIN_ALERT_THRESHOLD = 0.1 self._DCAM_UNCERTAIN_ALERT_COUNT = int(60 / DT_DMON) - self._DCAM_UNCERTAIN_RESET_COUNT = int(20 / DT_DMON) + self._DCAM_UNCERTAIN_RESET_COUNT = int(2 / DT_DMON) self._HI_STD_THRESHOLD = 0.3 self._HI_STD_FALLBACK_TIME = int(10 / DT_DMON) # fall back to wheel touch if model is uncertain for 10s self._DISTRACTED_FILTER_TS = 0.25 # 0.6Hz