-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Conversation
opendbc/car/car.capnp
Outdated
@@ -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 |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This the same for Hyundai when it's not in Drive gear. |
Want to make an issue with a route? |
Opened issue. |
* rename * send empty * revert * cmt * temp unavailable * clean up * fix * fix * fix
* rename * send empty * revert * cmt * temp unavailable * clean up * fix * fix * fix
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: