Conversation
mzdnick
force-pushed
the
mazda-hbc-clutter-replay
branch
from
September 17, 2026 01:57
fcf66bf to
4e4747b
Compare
mzdnick
marked this pull request as ready for review
September 17, 2026 02:22
mzdnick
force-pushed
the
mazda-hbc-clutter-replay
branch
from
September 17, 2026 06:12
9145552 to
b1b5eb2
Compare
Under the alpha-long radar takeover the synthetic radar sent only empty 5/6 track templates, and the camera read that as a dead radar: auto high beams stopped deciding. Send one occupied 0x365 track on the camera bus, a far static object (175 m nominal, 87-350 m band, zero closing speed) that never suppresses beams; the body bus keeps the empty templates stop-and-go needs, and libsafety pins the occupied pattern per slot on the camera bus only. The replacement CRZ_CTRL packed the camera's HBC-arming relay bit as 0, so the dash's green HBC light never lit. Relay 0x440 BIT2 into CRZ_CTRL NEW_SIGNAL_3 (bit 13) on both buses at 50 Hz, as stock does. The idle 0x362 template drops its captured c7 8c phantom track, which stock never sends idle, and the validator special case goes with it. Validation: night drive with alpha-long: beams react to darkness, bright areas, oncoming traffic, and leads; the green HBC light follows arming. Stop-and-go verified on the empty body-bus templates. 551 Mazda car tests, 278 Mazda safety tests, 781 car-wide interface tests; misra check passes.
mzdnick
force-pushed
the
mazda-hbc-clutter-replay
branch
from
September 17, 2026 16:18
7b99d4c to
673c8b1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Synthetic radar during alpha-long was sending empty 5/6 tracks, so the camera saw a dead radar and stopped deciding auto high beams. Also, the replacement CRZ_CTRL never relayed the camera's HBC-arm bit, so the dash's green HBC light never lit.
Fix
Validation
AI Usage
Disclaimer: GLM-5.3 by Z.ai was used to help develop, debug, and document this submission. All changes were reviewed and validated by me.