From f4e4ae65080b8fb6afd6d1c91f831c4e76d3d1a3 Mon Sep 17 00:00:00 2001 From: dragonpilot Date: Mon, 19 Aug 2019 21:30:42 +1000 Subject: [PATCH] =?UTF-8?q?=E9=A7=95=E9=A7=9B=E7=9B=A3=E6=8E=A7=E6=94=B9?= =?UTF-8?q?=E8=87=B330=20=E5=88=86=E9=90=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- selfdrive/controls/lib/driver_monitor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/controls/lib/driver_monitor.py b/selfdrive/controls/lib/driver_monitor.py index c175adea6..11ea0ba44 100644 --- a/selfdrive/controls/lib/driver_monitor.py +++ b/selfdrive/controls/lib/driver_monitor.py @@ -5,7 +5,7 @@ from common.filter_simple import FirstOrderFilter from common.params import Params params = Params() -_AWARENESS_TIME = 90. # 1.5 minutes limit without user touching steering wheels make the car enter a terminal status +_AWARENESS_TIME = 1800. # 30 minutes limit without user touching steering wheels make the car enter a terminal status _AWARENESS_PRE_TIME_TILL_TERMINAL = 20. # a first alert is issued 20s before expiration _AWARENESS_PROMPT_TIME_TILL_TERMINAL = 5. # a second alert is issued 5s before start decelerating the car _DISTRACTED_TIME = 10.