mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2025-08-01 13:31:45 -06:00
add missing variable definition
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user