From 16a79fbc3ded39ee45489edb5147bccea2dfa6c1 Mon Sep 17 00:00:00 2001 From: firestar5683 <168790843+firestar5683@users.noreply.github.com> Date: Fri, 3 Oct 2025 21:09:03 -0500 Subject: [PATCH] SteerAlerts Revert "SteerAlerts" This reverts commit cbaba399c5b9caac5a8faf3917f0929d747a0acc. Update controlsd.py --- selfdrive/controls/controlsd.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/selfdrive/controls/controlsd.py b/selfdrive/controls/controlsd.py index 17e8df979..967f7da31 100644 --- a/selfdrive/controls/controlsd.py +++ b/selfdrive/controls/controlsd.py @@ -715,8 +715,9 @@ class Controls: desired_lateral_accel = model_v2.action.desiredCurvature * (clipped_speed**2) undershooting = abs(desired_lateral_accel) / abs(1e-3 + actual_lateral_accel) > 1.2 turning = abs(desired_lateral_accel) > 1.0 - # TODO: lac.saturated includes speed and other checks, should be pulled out - if undershooting and turning and lac_log.saturated: + good_speed = CS.vEgo > 5 + commanded_torque_at_max = abs(lac_log.output) > 0.99 + if undershooting and turning and good_speed and commanded_torque_at_max: if self.frogpilot_toggles.goat_scream_alert: self.frogpilot_events.add(FrogPilotEventName.goatSteerSaturated) else: