radard: readable KalmanParams initialization (#32848)

fix kalmanparams initialization bug
old-commit-hash: 649e7a6d55
fix-exp-path
Dean Lee 10 months ago committed by GitHub
parent 5887093eed
commit 7718d6f7ec
  1. 2
      selfdrive/controls/radard.py

@ -37,7 +37,7 @@ class KalmanParams:
#Q = np.matrix([[10., 0.0], [0.0, 100.]])
#R = 1e3
#K = np.matrix([[ 0.05705578], [ 0.03073241]])
dts = [dt * 0.01 for dt in range(1, 21)]
dts = [i * 0.01 for i in range(1, 21)]
K0 = [0.12287673, 0.14556536, 0.16522756, 0.18281627, 0.1988689, 0.21372394,
0.22761098, 0.24069424, 0.253096, 0.26491023, 0.27621103, 0.28705801,
0.29750003, 0.30757767, 0.31732515, 0.32677158, 0.33594201, 0.34485814,

Loading…
Cancel
Save