mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-11-09 21:14:47 -07:00
use poles for poles rather than zeros... oops
This commit is contained in:
parent
924c277481
commit
5cd4d0d170
|
@ -107,7 +107,7 @@ def controller():
|
||||||
else:
|
else:
|
||||||
sample_interval = D.dt
|
sample_interval = D.dt
|
||||||
base_speed = 0.1
|
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.append(D.num, 0)
|
||||||
fir_taps = np.concatenate([np.zeros((len(iir_taps) + 1) - len(fir_taps)), fir_taps])
|
fir_taps = np.concatenate([np.zeros((len(iir_taps) + 1) - len(fir_taps)), fir_taps])
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user