Skip to content

Commit

Permalink
radard: remove deprecated function
Browse files Browse the repository at this point in the history
  • Loading branch information
sshane committed Oct 24, 2024
1 parent a8908b5 commit 07ad6e2
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions selfdrive/controls/radard.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ def update(self, d_rel: float, y_rel: float, v_rel: float, v_lead: float, measur

self.cnt += 1

def get_key_for_cluster(self):
# Weigh y higher since radar is inaccurate in this dimension
return [self.dRel, self.yRel*2, self.vRel]

def reset_a_lead(self, aLeadK: float, aLeadTau: float):
self.kf = KF1D([[self.vLead], [aLeadK]], self.K_A, self.K_C, self.K_K)
self.aLeadK = aLeadK
Expand Down

0 comments on commit 07ad6e2

Please sign in to comment.