Files
StarPilot/selfdrive
whoisdomi 119e175978 Ioniq 6 BSM: gate side-detect on front-radar lane position
The raw SIDE_DETECT_STATE bit lit the mirrors and UI for cars two lanes
over and for far-ahead traffic, because it has no lane discrimination.
Gate it on a front-radar track actually in the adjacent lane (LONG<15m,
1.9<=|LAT|<=5.5m), latched while side-detect stays asserted with a 0.5s
release debounce and 1s track-near memory, computed in carstate so the
UI path, lane-change veto, and mirror/cluster spoof all consume the same
gated signal. card stashes track adjacency from RadarData; fails open to
the raw bit if the stash goes stale. Validated on onelane/twolanes/
trafficonleft/standstillmirror rlogs.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-16 14:03:22 -05:00
..
2026-07-01 13:32:46 -04:00
2026-07-16 09:29:49 -05:00
2026-06-26 15:29:52 -05:00
2026-07-15 20:53:21 -05:00
2026-07-13 23:59:13 -05:00
2026-06-27 20:47:54 -05:00
2026-07-15 20:53:21 -05:00
2026-07-15 20:43:45 -05:00
2026-07-15 20:53:21 -05:00
2025-12-18 23:23:21 -08:00
2026-03-22 03:15:05 -05:00
2025-12-18 23:23:21 -08:00