Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion selfdrive/controls/lib/latcontrol_angle.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@
from openpilot.selfdrive.controls.lib.latcontrol import LatControl

# TODO This is speed dependent
STEER_ANGLE_SATURATION_THRESHOLD = 2.5 # Degrees
# BluePilot tuning experiment: 2.5 -> 3.5 deg. Measured desired-vs-actual lag during
# normal engaged driving on a Ford Explorer (angle mode, pinion measurement): median
# ~1.0 deg, p95 ~3.9 deg -- 2.5 sits inside the normal-operation distribution and fires
# on self-correcting transients (curve entry, PSCM post-press attenuation recovery).
# 3.5 cuts sustained alert episodes ~60-70% on recorded routes while genuinely
# at-the-limit driving (hairpin routes) still alerts richly.
STEER_ANGLE_SATURATION_THRESHOLD = 3.5 # Degrees


class LatControlAngle(LatControl):
Expand Down