Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ford: radar is invalid when in reverse #2000

Merged
merged 10 commits into from
Mar 15, 2025
Merged

Ford: radar is invalid when in reverse #2000

merged 10 commits into from
Mar 15, 2025

Conversation

sshane
Copy link
Contributor

@sshane sshane commented Mar 14, 2025

Radar just sends the last message while in reverse (for everything; tracks, headers, etc.), so we need to detect a stalled scan index and add a fault instead of stop sending liveTracks:

image

@github-actions github-actions bot added car related to opendbc/car/ ford labels Mar 14, 2025
@@ -307,6 +307,7 @@ struct RadarData @0x888ad6581cf0aacb {
canError @0;
fault @1;
wrongConfig @2;
unavailableTemporary @3; # radar data is temporarily unavailable due to conditions the car sets
Copy link
Contributor

Choose a reason for hiding this comment

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

let's make these bool fields

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@sunnyhaibin
Copy link
Contributor

This the same for Hyundai when it's not in Drive gear.

@sshane
Copy link
Contributor Author

sshane commented Mar 14, 2025

Want to make an issue with a route?

@sshane sshane merged commit 96896d3 into master Mar 15, 2025
8 checks passed
@sshane sshane deleted the ford-radar-invalid branch March 15, 2025 03:45
@sunnyhaibin
Copy link
Contributor

Want to make an issue with a route?

Opened issue.

lukasloetkolben pushed a commit to lukasloetkolben/opendbc that referenced this pull request Mar 19, 2025
* rename

* send empty

* revert

* cmt

* temp unavailable

* clean up

* fix

* fix

* fix
gadhadar pushed a commit to qzwf/opendbc that referenced this pull request Mar 21, 2025
* rename

* send empty

* revert

* cmt

* temp unavailable

* clean up

* fix

* fix

* fix
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix car related to opendbc/car/ ford gm honda
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants