mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-21 05:52:06 +08:00
cleanup duplicate function
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
from common.numpy_fast import mean
|
||||
from common.kalman.simple_kalman import KF1D
|
||||
from selfdrive.config import RADAR_TO_CAMERA
|
||||
|
||||
@@ -54,9 +55,6 @@ class Track():
|
||||
self.aLeadK = aLeadK
|
||||
self.aLeadTau = aLeadTau
|
||||
|
||||
def mean(l):
|
||||
return sum(l) / len(l)
|
||||
|
||||
|
||||
class Cluster():
|
||||
def __init__(self):
|
||||
|
||||
Reference in New Issue
Block a user