Skip to content

Commit

Permalink
Add initial DMS signals
Browse files Browse the repository at this point in the history
This adds basic support for Driver Monitoring Systems (DMS) to the
ADAS spec. These have been derived from the other ADAS features and
presently include:

- DMS.IsEnabled to determine if the system has been enabled or not
- DMS.IsWarning to determine if the system is in an alert state
- DMS.IsError to determine if the system is in an error state

The DMS.IsEnabled signal can be used to determine whether driver
monitoring signals under Driver are expected to be valid, while
the DMS.IsWarning signal can be used as a bassis for interrogating
the cause of a specific alert condition from the Driver state.

Signed-off-by: Paul Mundt <[email protected]>
  • Loading branch information
pmundt authored and erikbosch committed Apr 19, 2023
1 parent b182575 commit 9cc034d
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions spec/ADAS/ADAS.vspec
Original file line number Diff line number Diff line change
Expand Up @@ -285,4 +285,26 @@ EBA.IsEngaged:
type: sensor
description: Indicates if EBA is currently regulating brake pressure. True = Engaged. False = Not Engaged.

#
# Driver Monitoring System (DMS)
#
DMS:
type: branch
description: Driver Monitoring System signals.

DMS.IsEnabled:
datatype: boolean
type: actuator
description: Indicates if DMS is enabled. True = Enabled. False = Disabled.

DMS.IsWarning:
datatype: boolean
type: sensor
description: Indicates if DMS has registered a driver alert condition.

DMS.IsError:
datatype: boolean
type: sensor
description: Indicates if DMS incurred an error condition. True = Error. False = No Error.

#include include/PowerOptimize.vspec

0 comments on commit 9cc034d

Please sign in to comment.