use poles for poles rather than zeros... oops

This commit is contained in:
Brendan Haines 2020-04-08 15:36:15 -06:00
parent 924c277481
commit 5cd4d0d170

View File

@ -107,7 +107,7 @@ def controller():
else:
sample_interval = D.dt
base_speed = 0.1
iir_taps = np.append(D.num[1:], 0)
iir_taps = np.append(D.den[1:], 0)
fir_taps = np.append(D.num, 0)
fir_taps = np.concatenate([np.zeros((len(iir_taps) + 1) - len(fir_taps)), fir_taps])