Skip to content

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

Draft
wants to merge 19 commits into
base: master
Choose a base branch
from
Draft

Check for ISO lateral violations #35700

wants to merge 19 commits into from

Conversation

sshane
Copy link
Contributor

@sshane sshane commented Jul 12, 2025

Closes #35695

@sshane sshane marked this pull request as draft July 12, 2025 05:07
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)
Copy link
Contributor Author

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?

Copy link
Contributor

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

Copy link
Contributor Author

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: {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
EventName.lateralIsoViolation: {
EventName.unreasonableLateralActuation: {
Suggested change
EventName.lateralIsoViolation: {
EventName.abnormalLateralActuation: {

?

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

Successfully merging this pull request may close these issues.

Detect and lock out on excessive actuation
2 participants