mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2025-07-14 15:11:06 -06:00
add missing variable definition
This commit is contained in:
@ -130,6 +130,7 @@ def control_thread():
|
||||
|
||||
# Precompute as much as possible
|
||||
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):])
|
||||
motor_speed = np.array(-1, 1, 0) * base_speed
|
||||
|
||||
|
Reference in New Issue
Block a user