-
Notifications
You must be signed in to change notification settings - Fork 9.9k
Check for ISO lateral violations #35700
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
base: master
Are you sure you want to change the base?
Conversation
card is car interfacing, controlsd is for calculating control input, selfdrived is rest
def check_lateral_iso_violation(car_control, controls_state, car_state, live_parameters, live_calibration, live_pose, calibrator): | ||
calibrator.feed_live_calib(live_calibration) | ||
device_pose = Pose.from_live_pose(live_pose) | ||
calibrated_pose = calibrator.build_calibrated_pose(device_pose) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@fredyshox do you know why we stopped publishing the calibrated values?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you don't want redundant info in the logs
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, but you won't be able to debug this with PJ at the moment.
@@ -758,6 +758,12 @@ def invalid_lkas_setting_alert(CP: car.CarParams, CS: car.CarState, sm: messagin | |||
ET.NO_ENTRY: NoEntryAlert("Distraction Level Too High"), | |||
}, | |||
|
|||
EventName.lateralIsoViolation: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
EventName.lateralIsoViolation: { | |
EventName.unreasonableLateralActuation: { |
EventName.lateralIsoViolation: { | |
EventName.abnormalLateralActuation: { |
?
Closes #35695