Files
StarPilot/openpilot/starpilot/speed_limits/COMPOSITION.md
T
firestarsdog 6a469e232b Rework speed-limit control, integration, and HUD
Consolidates source, test, documentation, and UI asset changes authored by firestarsdog:

- 5f3ea81785 SLC Squish
- e54b3f9e36 Normalize stopped speeds to preserve SLC overrides
- fc981552b3 Clarify SLC targets and confirmation prompts
- 891454e47c Align speed HUD for clearer SLC prompts
- 4e4d258ad3 Visual Polish + Suppress "LAST" in UI
- 5b896476d6 rm historic adopted speed on engage

Generated device build outputs are recorded separately after the source commits.
2026-11-10 17:14:15 -05:00

925 B

Speed-limit composition

composition.step joins source selection, acceptance, offsets and qualified raw/cluster speed pairs into Result.ceiling. The planner caps the driver's SET with this value; SLC never writes SET. Source, action, session, clock and authority validation remain at their existing boundaries. Ordinary driver SET changes do not create an SLC bypass.

The previous accepted limit plus the current offset remains the cap through source gaps and later engagements. Validated saved history supplies the same fallback after a restart. It never creates a fresh source observation or accepts a pending proposal. Current vehicle coordinates and system-longitudinal authority remain required. There is no separate SLC override reducer or retained pedal target.

Lead following, curves, stopping, cruise profiles and actuator restrictions retain their existing owners. See the controller contract.