Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steering Monitoring #1

Open
13 tasks done
alfhern opened this issue Jul 17, 2020 · 3 comments
Open
13 tasks done

Steering Monitoring #1

alfhern opened this issue Jul 17, 2020 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@alfhern
Copy link
Collaborator

alfhern commented Jul 17, 2020

Add steering monitoring functionality for compliance with regulation r079r4e

  • Track hands on wheel status based on steering_pressed signal from carState messaging 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.
@alfhern alfhern added the enhancement New feature or request label Jul 17, 2020
@alfhern
Copy link
Collaborator Author

alfhern commented Aug 19, 2020

Implemented in r079r4e branch

@alfhern alfhern closed this as completed Aug 25, 2020
@alfhern
Copy link
Collaborator Author

alfhern commented Aug 25, 2020

Reopening, will close when we merge it to our master.

@alfhern alfhern reopened this Aug 25, 2020
alfhern pushed a commit that referenced this issue Aug 3, 2022
* update names + notes for MPC outputs

"current_curvature" is not the correct description of what the MPC is outputting in it's curvature_ego state.
The MPC is integrating it's free variable, curvature_rate, such that curvature[0] is actually the desired_curvature before any delay.
inversely: the curvature_rate_desired is the desired rate of change to the setpoint and not the actual curvature rate. 

If we were to set the initial curvature = measured curvature in the MPC initiation these names would be correct. 
This was possibly how it was initially set up but the nomenclature here is now confusing.

* more notes

* match

* Clarify #1
@SHNNJJJJDS
Copy link

怎么修改转向扭矩

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants