fix: cruise faults should not disable silently#37557
Open
RJWadley wants to merge 4 commits intocommaai:masterfrom
Open
fix: cruise faults should not disable silently#37557RJWadley wants to merge 4 commits intocommaai:masterfrom
RJWadley wants to merge 4 commits intocommaai:masterfrom
Conversation
Contributor
|
This PR has had no activity for 24 days. It will be automatically closed in 7 days if there is no activity. |
|
I think this is a clean, simple fix, for an important issue, to make unexpected disengagements more noticeable to the driver. If it can, I think it should be implemented. |
Contributor
Process replay diff reportReplays driving segments through this PR and compares the behavior to master. ✅ 0 changed, 66 passed, 0 errors |
jyoung8607
reviewed
Apr 2, 2026
Collaborator
jyoung8607
left a comment
There was a problem hiding this comment.
LGTM at a glance, but need to review more in depth before merging. Rebased to keep the stalebot at bay.
Contributor
|
This PR has had no activity for 24 days. It will be automatically closed in 7 days if there is no activity. |
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.
Description
Bug:
When the ACC system faults,
USER_DISABLE(wrongCarMode) andIMMEDIATE_DISABLE(accFaulted) could both fire at the same time.USER_DISABLEwas checked first, which silences the critical "TAKE CONTROL IMMEDIATELY" alert in favor of a soft disengage chime.Fix:
Check
IMMEDIATE_DISABLEbeforeUSER_DISABLEso that if they fire at the same time, the more critical warning takes priority.Discussed in opendbc#2874
Verification
Drove routes with faults before and after.
Route
Route without fix:
8c4310d5aa130a2a/00000088--c64f683d2d/1Route with fix:
9feef6a0323edf69/00000109--9ff98faf4e/3