mirror of
https://github.com/brendanhaines/ECEN5458_Project.git
synced 2024-11-09 21:14:47 -07:00
possibly fix taps
This commit is contained in:
parent
a4b7ad84c6
commit
4b030f1639
|
@ -109,12 +109,7 @@ def controller():
|
||||||
base_speed = 0.1
|
base_speed = 0.1
|
||||||
iir_taps = np.append(D.num[1:], 0)
|
iir_taps = np.append(D.num[1:], 0)
|
||||||
fir_taps = np.append(D.num, 0)
|
fir_taps = np.append(D.num, 0)
|
||||||
fir_taps = np.concatenate([np.zeros(len(iir_taps)-len(fir_taps) + 1), fir_taps])
|
fir_taps = np.concatenate([np.zeros((len(iir_taps) + 1) - len(fir_taps)), fir_taps])
|
||||||
|
|
||||||
iir_taps = np.flip(iir_taps)
|
|
||||||
fir_taps = np.flip(fir_taps)
|
|
||||||
# fir_taps = [1, 0, 0]
|
|
||||||
# iir_taps = [0, 0]
|
|
||||||
|
|
||||||
motor_directions = [1, -1, 0]
|
motor_directions = [1, -1, 0]
|
||||||
steering_sign = 1
|
steering_sign = 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user