Skip to content

mazda: replay a captured 5/6 track cycle during the radar takeover - #15

Draft
mzdnick wants to merge 2 commits into
zoompilot:developfrom
mzdnick:mazda-hbc-clutter-replay
Draft

mzdnick wants to merge 2 commits into
zoompilot:developfrom
mzdnick:mazda-hbc-clutter-replay

Conversation

@mzdnick

@mzdnick mzdnick commented Sep 15, 2026

Copy link
Copy Markdown

The simulated radar sends only the empty 5/6 templates, a permanent zero-object world; the camera reads it as a dead radar and stops deciding auto high beams. Cycle an 8 s stock capture (2022 CX-5 city drive) per slot through create_radar_frames, byte-exact with the counter stamped per send, and pad each slot's empty tail to the stock duty cycle measured on the night drive where stock HBC was captured working (slots 5/6 at 59%/26% and 29%/12% across segments, played at 40%/20%; unequal 20 s/40 s periods). The captured frames stay pinned as the only occupied 5/6 patterns the Mazda tx hook accepts.

Validated: 544 Mazda car tests + 278 safety tests; golden fixture regenerated for the deliberate 5/6 duty change.

The replaced radar sends only the empty 5/6 templates, a permanent
zero-object world; the camera reads it as a dead radar and stops
deciding auto high beams. Cycle an 8 s stock capture (2022 CX-5 city
drive) per slot through create_radar_frames, byte-exact with the
counter stamped per send, and pad each slot's empty tail to the stock
duty cycle measured on the night drive where stock HBC was captured
working (slots 5/6 at 59%/26% and 29%/12% across segments, played at
40%/20%; unequal 20 s/40 s periods). The captured frames stay pinned
as the only occupied 5/6 patterns the Mazda tx hook accepts.

Validated: 544 Mazda car tests + 278 safety tests; golden fixture
regenerated for the deliberate 5/6 duty change.
The 0x362 template carried captured c7 8c bytes, a frozen non-empty
track value stock never sends idle: every stock capture shows the
same empty encoding as 0x361 (c0 00). The takeover parked a phantom
object in slot 2 around the clock. Suspected cause of the green HBC
telltale never arming under the takeover, device check pending: four
captures show no other bus-content difference between green-on and
green-dead worlds, and the beam gate reads only slots 5/6, matching
blue working while green stayed dead.

Fix: 0x362 template fff7fefe1fc78c80 -> fff7fefe1fc00080; the tx
hook's TRACK_2 branch collapses into the 0x361 pattern and the
retired capture is now rejected.

Validated: 544 Mazda car tests + 278 safety tests; golden fixture
regenerated for the template change.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant