forked from commaai/openpilot
-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Add steering monitoring functionality for compliance with regulation r079r4e
- Track hands on wheel status based on
steering_pressedsignal fromcarStatemessaging channel. - Issue alert messages for the different states of steering monitoring in accordance with regulation.
- Change initially implemented alerts to visual alerts with steering wheel pictogram as specified by regulation. Modify steering monitoring state machine accordingly.
- If system inactive or speed under 10km/h, no alert or steering wheel pictogram should be displayed.
- When active and over 10km/h: If, after a period no longer than 15 seconds the driver is not holding the steering control, an optical warning signal shall be provided. The hands on steering wheel pictogram should be displayed with an orange message alert: "Keep hands on steering wheel" without a persisting acoustic signal.
- When active and over 10km/h: If, after a period of no longer than 30 seconds the driver is not holding the steering control, at least the hands or steering control in the pictorial information provided as optical warning signal shall be shown in red and an persisting acoustic warning signal shall be provided. A red message alert should be displayed: "Keep hands on steering wheel"
- The warning signals shall be active until the driver is holding the steering control, or until the system is deactivated, either manually or automatically.
- The system shall be automatically deactivated at the latest 30 seconds after the acoustic warning signal has started. After deactivation the system shall clearly inform the driver about the system status by an acoustic emergency signal which is different from the previous acoustic warning signal, for at least five seconds or until the driver holds the steering control again.
- Implement disengage logic according to regulation.
- Consider adding changes on cruise speed as well as button press detections as indicators of hands of wheel signal.
- Check why buttons are not being detected as steering wheel interaction
- Make the feature configurable via a parameter.
- Implement tests for this feature.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request