mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-11-09 21:14:47 -07:00
initialize sufficient zeros to satisfy controller at start
This commit is contained in:
parent
f05bff700f
commit
0f134566c2
|
@ -119,6 +119,7 @@ def control_thread():
|
||||||
base_speed = 0.1
|
base_speed = 0.1
|
||||||
fir_taps = [0, 0, 0]
|
fir_taps = [0, 0, 0]
|
||||||
iir_taps = [0, 0]
|
iir_taps = [0, 0]
|
||||||
|
time_data = np.zeros((max(len(fir_taps), len(iir_taps)), time_data.shape[1]))
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
# TODO: replace sleep statement with something that doesn't depend on execution time of loop
|
# TODO: replace sleep statement with something that doesn't depend on execution time of loop
|
||||||
|
|
Loading…
Reference in New Issue
Block a user