Skip to content

python pandad, even simpler#37224

Closed
adeebshihadeh wants to merge 7 commits intomasterfrom
pypanda3
Closed

python pandad, even simpler#37224
adeebshihadeh wants to merge 7 commits intomasterfrom
pypanda3

Conversation

@adeebshihadeh
Copy link
Copy Markdown
Contributor

No description provided.

adeebshihadeh and others added 7 commits February 15, 2026 10:37
Move sendcan polling from separate thread into main 100Hz loop.
The only background thread is for hwmon reading (voltage/current)
which can block indefinitely and is best-effort.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
HARDWARE.get_voltage/get_current already return millivolts/milliamps,
no need to multiply by 1000.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
SubMaster with conflate=True only keeps the latest message, causing
message drops when many sendcan messages arrive between poll cycles.
Use a raw sub_sock with conflate=False and drain_sock to process
all pending messages, matching C++ behavior.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Remove ./pandad CPU entry (C++ binary no longer runs)
- Set selfdrive.pandad.pandad budget to 25% (was 0 as just a launcher)
- Move CarParams import to module level (avoid repeated lazy imports)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
The OX03C10 test_exposure failure also occurs on master - it's a
pre-existing camera hardware issue unrelated to the pandad rewrite.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

This PR has had no activity for 24 days. It will be automatically closed in 7 days if there is no activity.

@github-actions github-actions Bot added the stale label Mar 13, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This PR has been automatically closed due to inactivity. Feel free to re-open once activity resumes.

@github-actions github-actions Bot closed this Mar 22, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This PR has been automatically closed due to inactivity. Feel free to re-open once activity resumes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant