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

* update time to match 15/30

* add ref
This commit is contained in:
ZwX1616
2022-03-08 13:11:39 -08:00
committed by GitHub
parent 0b64ddb678
commit 51638bfe4d
+3 -2
View File
@@ -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.