Ford: radar is invalid while in reverse (#34866)

* temp unavailable

* fix

* replay multiple

* clean up

* bump

* rename

* reason is in liveTracks

* more rename

* bump

* fix

* bump

* fix

* need to totally ignore it, or it will throw commIssues for radarErrors or not alive

* this is just simpler -- good thing kept struct

* rm
This commit is contained in:
Shane Smiskol
2025-03-14 21:08:30 -07:00
committed by GitHub
parent 714348e17e
commit 4e7c605a79
5 changed files with 13 additions and 1 deletions
+1
View File
@@ -234,6 +234,7 @@ class RadarD:
self.radar_state_valid = sm.all_checks()
self.radar_state = log.RadarState.new_message()
self.radar_state.mdMonoTime = sm.logMonoTime['modelV2']
self.radar_state.radarErrors = rr.errors
self.radar_state.carStateMonoTime = sm.logMonoTime['carState']
if len(sm['modelV2'].velocity.x):