mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-12-27 03:17:06 -07:00
add missing variable definition
This commit is contained in:
parent
fa6a1b1d30
commit
7bff309df3
|
@ -130,6 +130,7 @@ def control_thread():
|
||||||
|
|
||||||
# Precompute as much as possible
|
# Precompute as much as possible
|
||||||
c = time_data[:,2]
|
c = time_data[:,2]
|
||||||
|
e = time_data[:,1]
|
||||||
np.append(c, fir_taps[1:] * e[-len(fir_taps)+1:] + iir_taps * c[-len(iir_taps):])
|
np.append(c, fir_taps[1:] * e[-len(fir_taps)+1:] + iir_taps * c[-len(iir_taps):])
|
||||||
motor_speed = np.array(-1, 1, 0) * base_speed
|
motor_speed = np.array(-1, 1, 0) * base_speed
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user