Open
Conversation
6e9e952 to
6eca1ec
Compare
- SPI _wait_for_ack: default timeout=0 to 500ms, clamp to 100-500ms range - SPI _transfer: default timeout=0 to 500ms, add MAX_TIMEOUT_RETRIES (5) limit - SPI _transfer: add NACK backoff like C++ implementation - SPI _transfer: run recovery logic for ALL exception types (fixes onroad test) - CAN can_recv: max 3 retries instead of infinite loop, return [] on failure - CAN can_send_many: detect no-progress and drop after 3 retries - CAN_SEND_TIMEOUT_MS: changed from 10ms to 5ms to match C++ These changes align Python behavior with the C++ pandad implementation. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
6eca1ec to
4515124
Compare
|
I am a GM owner with this issue plaguing my comma experience so I manually pushed the two files changed to my otherwise stock OpenPilot running on my Comma Four, and it seems to have fixed the issue, there was only one occurrence where my vehicle gave and LKAS fault: 25e31c3f3401cd77/0000006e--256667c195/52 but after a lunch break, the fault code was cleared and had no further issues on my long drive: 25e31c3f3401cd77/00000071--11aedcae87/0 I hope my logs can help in some way. |
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.
goes with commaai/openpilot#35854