DM: update wheeltouch timeouts to match EU guidelines (#23925)

* update time to match 15/30

* add ref
old-commit-hash: 51638bfe4d
taco
ZwX1616 3 years ago committed by GitHub
parent c60d1ca766
commit ec8ce63c42
  1. 5
      selfdrive/monitoring/driver_monitor.py

@ -18,8 +18,9 @@ EventName = car.CarEvent.EventName
class DRIVER_MONITOR_SETTINGS():
def __init__(self, TICI=TICI, DT_DMON=DT_DMON):
self._DT_DMON = DT_DMON
self._AWARENESS_TIME = 35. # passive wheeltouch total timeout
self._AWARENESS_PRE_TIME_TILL_TERMINAL = 12.
# ref (page15-16): https://eur-lex.europa.eu/legal-content/EN/TXT/PDF/?uri=CELEX:42018X1947&rid=2
self._AWARENESS_TIME = 30. # passive wheeltouch total timeout
self._AWARENESS_PRE_TIME_TILL_TERMINAL = 15.
self._AWARENESS_PROMPT_TIME_TILL_TERMINAL = 6.
self._DISTRACTED_TIME = 11. # active monitoring total timeout
self._DISTRACTED_PRE_TIME_TILL_TERMINAL = 8.

Loading…
Cancel
Save