Skip to content

Fix tesla radar parser - #3

Merged
lukasloetkolben merged 1 commit into
xnor-tech:master-xnorfrom
robbederks:tesla-radar-blinking-fix
Apr 17, 2026
Merged

Fix tesla radar parser#3
lukasloetkolben merged 1 commit into
xnor-tech:master-xnorfrom
robbederks:tesla-radar-blinking-fix

Conversation

@robbederks

Copy link
Copy Markdown

This seems to have regressed at some point, causing the radar points to blink

card.py only publishes liveTracks when update() returns a non-None
RadarData. Returning an empty RadarData on every CAN tick caused
liveTracks to be published at 100Hz with ~83% empty frames, making
radar points appear to blink in downstream viewers.

This restores the upstream behavior: only publish on radar cycles.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for contributing to opendbc! In order for us to review your PR as quickly as possible, check the following:

  • Convert your PR to a draft unless it's ready to review
  • Read the contributing docs
  • Before marking as "ready for review", ensure:
    • the goal is clearly stated in the description
    • all the tests are passing
    • include a route or your device' dongle ID if relevant

@lukasloetkolben
lukasloetkolben merged commit fac46f8 into xnor-tech:master-xnor Apr 17, 2026
2 checks passed
dirkpetersen added a commit to dirkpetersen/pnw-opendbc that referenced this pull request Jul 11, 2026
…4-signal path (xnor-tech#1)

Ports BluePilot's (alan-polk) compute_dm_msg_values + get_dm_state 1:1 and
wires the rich create_acc_ui_msg for the 4-signal lateral path: BlueCruise
blue display + DM-state-driven TJA cluster text (Resume Control / Cancelled /
hands-on prompts / lane-departure), computed from selfdriveState.alertType
(already subscribed by LateralCurvExt). Display-only — ACCDATA_3 (0x18A) is
TX-allowlisted, no panda safety surface (Gemini: no crash/None risk, no
steering/accel path, Tesla + non-Lightning Fords untouched via the
self._latext is None fallback). NO panda reflash (opendbc car Python only).

(xnor-tech#3 lane-change curvature scaling was ALREADY live — it's inside the
LateralCurvExt flashed with the 4-signal safety.)

Attribution: mechanism by alan-polk (BluePilot).

Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01F3TLcBEaF2vpj9j8g3Nqc2
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.

2 participants