mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-12-26 19:08:16 -07:00
playing with taps again
This commit is contained in:
parent
30b57b5128
commit
6cd6b448e2
|
@ -115,10 +115,11 @@ def control_thread():
|
||||||
global time_data
|
global time_data
|
||||||
global servos
|
global servos
|
||||||
|
|
||||||
|
# TODO: make these parameters editable via network interface
|
||||||
sample_interval = 0.01
|
sample_interval = 0.01
|
||||||
base_speed = 0.1
|
base_speed = 0.1
|
||||||
fir_taps = [1, 1, 0]
|
fir_taps = [1, -1, 0]
|
||||||
iir_taps = [0.99, 0]
|
iir_taps = [0, 0]
|
||||||
time_data = np.zeros((max(len(fir_taps), len(iir_taps)), time_data.shape[1]))
|
time_data = np.zeros((max(len(fir_taps), len(iir_taps)), time_data.shape[1]))
|
||||||
|
|
||||||
while True:
|
while True:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user