configure_radar() already selects only the ACC-target receiver, so the
object-list receiver (ars510_radar.py) and its ARS510_FUSED flag could
no longer be reached. Remove both, with their tests and their branches
in the radar interface and the angle, EPS8, pedal and filter-AOL checks.
get_params() rebuilds the flags on every start, so no saved value can
bring the old bit back.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Alpha long without a CAN filter disables the radar with UDS
CommunicationControl (28 01 01 to 0x750/0x0F). That stops the radar's
car-bus (bus 0) output only; the radar bus (bus 1) keeps running at full
rate, ACC target 0x235/0x237/0x239 included (RAV4s on 8821F0R03100, one
a 26 min drive; a C-HR Hybrid 8821FF410500 on opendbc's 22 min
"openpilot longitudinal, radar disabled" route).
configure_radar() used to clear the receiver and mark the radar
unavailable in that case, so alpha long without a CAN filter ran
vision-only. Keep the receiver on instead. The radar-torque AOL check
allows ARS510_RADAR on the RAV4 2022 with or without openpilot
longitudinal, as the filter, angle, pedal and EPS8 checks already do.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
TARGET_ID is 6 bits (61|6); the radar's support frames (0x100 PCS
state, 0x190 cycle clock, 0x191-0x194 target summaries, 0x195/0x196
event pair, 0x202 alive, 0x24F boot, 0x680) are documented. The ACC
target frames the receiver reads are otherwise unchanged.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
capture() stores only the CANParser's newest accepted sample per batch,
so when pandad batches two Throttle frames (100 Hz) into one packet the
stored counter advances by 2 and the strict previously-stored + 1
validity check flaps False for a tick. Each flap hard-resets StopAndGo's
standstill clock, which needs 51 consecutive ready frames, so the 3 kph
hold pulse never fires and EyeSight's standstill timeout drops ACC --
on essentially every SNG standstill. Replay of the 2026-11-24 incident
segment through the real interface/controller: the counter check was the
only failing gate (71/544 stop ticks) and the clock peaked at 24/51.
Validity now means the stored sample is the parser's current accepted,
checksum-verified sample whose counter advanced from the previously
stored one. A counter that does not advance is still never stored or
validated, and the sender's freshness gates still retire stale
samples. The panda keeps enforcing the strict +1 sequence on the raw
bus, where it sees every frame, before passing any modified frame.
Tests: capture() unit tests for batched delivery (including wraparound
and stalled counters), and a caller-level test with jittered Throttle
batching that reaches the hold pulse -- a delivery pattern the existing
caller harness cannot represent, since it feeds exactly one frame per
message per tick. With this change the incident replay produces hold
pulses (speed=True on 45 calls, clock peak 55, 17 spoofed frames)
instead of none.