Skip to content

Commit

Permalink
fix radar errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Oct 30, 2024
1 parent 3752352 commit 0345c0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion opendbc/car/ford/radar_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ def update(self, can_strings):

if self.trigger_msg not in self.updated_messages:
return None
self.updated_messages.clear()

ret = structs.RadarData()
errors = []
Expand All @@ -210,7 +211,6 @@ def update(self, can_strings):
measured=True, aRel=float('nan'), yvRel=float('nan'))
for pt in self.clusters2]
ret.errors = errors
self.updated_messages.clear()
return ret

def _update_delphi_esr(self):
Expand Down

0 comments on commit 0345c0f

Please sign in to comment.