mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-12-26 10:57:55 -07:00
possibly fix this issue
This commit is contained in:
parent
e215fd6c52
commit
0a7e1cd9df
|
@ -107,10 +107,8 @@ def controller():
|
||||||
else:
|
else:
|
||||||
sample_interval = D.dt
|
sample_interval = D.dt
|
||||||
base_speed = 0.1
|
base_speed = 0.1
|
||||||
fir_taps = np.flip(D.num)
|
fir_taps = np.append(np.flip(D.num), 0)
|
||||||
iir_taps = np.flip(D.num[1:])
|
iir_taps = np.append(np.flip(D.num[1:]), 0)
|
||||||
if len(iir_taps) == 0:
|
|
||||||
iir_taps = [0]
|
|
||||||
# fir_taps = [1, 0, 0]
|
# fir_taps = [1, 0, 0]
|
||||||
# iir_taps = [0, 0]
|
# iir_taps = [0, 0]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user