Files
sunnypilot/selfdrive/monitoring
ZwX1616 1262fca36b add check driver camera alert (#36577)
* add event

* missing arg

* creation_delay is wrong

* add logging

* set offroad alert

* Update selfdrive/selfdrived/alerts_offroad.json

Co-authored-by: Shane Smiskol <shane@smiskol.com>

* rm onard

* add details

* rename to DM

* log rename

* no poss

---------

Co-authored-by: Shane Smiskol <shane@smiskol.com>
2025-11-07 15:18:45 -08:00
..
2021-08-13 16:18:54 -07:00

driver monitoring (DM)

Uploading driver-facing camera footage is opt-in, but it is encouraged to opt-in to improve the DM model. You can always change your preference using the "Record and Upload Driver Camera" toggle.

Troubleshooting

Before creating a bug report, go through these troubleshooting steps.

  • Ensure the driver-facing camera has a good view of the driver in normal driving positions.
  • This can be checked in Settings -> Device -> Preview Driver Camera (when car is off).
  • If the camera can't see the driver, the device should be re-mounted.

Bug report

In order for us to look into DM bug reports, we'll need the driver-facing camera footage. If you don't normally have this enabled, simply enable the toggle for a single drive. Also ensure the "Upload Raw Logs" toggle is enabled before going for a drive.