mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2025-04-21 16:27:58 -06:00
fix parsing of controller
This commit is contained in:
parent
2539e5f2f0
commit
e215fd6c52
@ -109,6 +109,8 @@ def controller():
|
||||
base_speed = 0.1
|
||||
fir_taps = np.flip(D.num)
|
||||
iir_taps = np.flip(D.num[1:])
|
||||
if len(iir_taps) == 0:
|
||||
iir_taps = [0]
|
||||
# fir_taps = [1, 0, 0]
|
||||
# iir_taps = [0, 0]
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user