From 06407161e6a19d7b9da3c4ba81825ecc807d6a79 Mon Sep 17 00:00:00 2001 From: George Hotz Date: Mon, 20 Apr 2020 13:56:02 -0700 Subject: [PATCH] add safety note old-commit-hash: 58e71de9fb1d88f08098b00dd333c8a8a2585850 --- selfdrive/controls/lib/driver_monitor.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/selfdrive/controls/lib/driver_monitor.py b/selfdrive/controls/lib/driver_monitor.py index 1d5a70788f..73ef07777e 100644 --- a/selfdrive/controls/lib/driver_monitor.py +++ b/selfdrive/controls/lib/driver_monitor.py @@ -5,6 +5,12 @@ from selfdrive.controls.lib.drive_helpers import create_event, EventTypes as ET from common.filter_simple import FirstOrderFilter from common.stat_live import RunningStatFilter +# ****************************************************************************************** +# NOTE: To fork maintainers. +# Disabling or nerfing safety features may get you and your users banned from our servers. +# We recommend that you do not change these numbers from the defaults. +# ****************************************************************************************** + _AWARENESS_TIME = 70. # one minute limit without user touching steering wheels make the car enter a terminal status _AWARENESS_PRE_TIME_TILL_TERMINAL = 15. # a first alert is issued 25s before expiration _AWARENESS_PROMPT_TIME_TILL_TERMINAL = 6. # a second alert is issued 15s before start decelerating the car