Files
StarPilot/starpilot/common/tests/test_safe_mode_lane_centering.py
T
jc01rho 9f1066ce83 feat(lateral): add confidence-gated lane centering
Adapt the lane-centering implementation from PR #74 by @jc01rho.

Keep controls in Galaxy developer settings, add confidence and geometry gates, preserve E2E path authority, and reset all related offsets through Safe Mode.
2026-07-23 00:03:23 -05:00

11 lines
272 B
Python

from openpilot.starpilot.common.safe_mode import SAFE_MODE_MANAGED_KEYS
def test_safe_mode_manages_lane_centering_settings():
assert {
"CameraOffset",
"LaneCentering",
"LaneCenteringE2EAuthority",
"LaneCenterOffset",
} <= set(SAFE_MODE_MANAGED_KEYS)