Skip to content

Commit

Permalink
Be unsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
SippieCup committed Dec 6, 2018
1 parent 6b9270a commit bbbc186
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions selfdrive/controls/lib/driver_monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

_DT = 0.01 # update runs at 100Hz
_DTM = 0.1 # DM runs at 10Hz
_AWARENESS_TIME = 180 # 3 minutes limit without user touching steering wheels make the car enter a terminal status
_AWARENESS_PRE_TIME = 20. # a first alert is issued 20s before expiration
_AWARENESS_PROMPT_TIME = 5. # a second alert is issued 5s before start decelerating the car
_DISTRACTED_TIME = 7.
_DISTRACTED_PRE_TIME = 4.
_DISTRACTED_PROMPT_TIME = 2.
_AWARENESS_TIME = 9999999 # 3 minutes limit without user touching steering wheels make the car enter a terminal status
_AWARENESS_PRE_TIME = 20000. # a first alert is issued 20s before expiration
_AWARENESS_PROMPT_TIME = 5000. # a second alert is issued 5s before start decelerating the car
_DISTRACTED_TIME = 7000000.
_DISTRACTED_PRE_TIME = 40000.
_DISTRACTED_PROMPT_TIME = 2000.
# measured 1 rad in x FOV. 1152x864 is original image, 160x320 is a right crop for model
_CAMERA_FOV_X = 1. # rad
_CAMERA_FOV_Y = 0.75 # 4/3 aspect ratio
Expand Down

0 comments on commit bbbc186

Please sign in to comment.