From 4b030f16392351bf6a00d939b547f81219303f23 Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Wed, 8 Apr 2020 15:25:39 -0600 Subject: [PATCH] possibly fix taps --- Software/python/server.py | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Software/python/server.py b/Software/python/server.py index fefd0c5..f23f9ea 100644 --- a/Software/python/server.py +++ b/Software/python/server.py @@ -109,12 +109,7 @@ def controller(): base_speed = 0.1 iir_taps = np.append(D.num[1:], 0) fir_taps = np.append(D.num, 0) - fir_taps = np.concatenate([np.zeros(len(iir_taps)-len(fir_taps) + 1), fir_taps]) - - iir_taps = np.flip(iir_taps) - fir_taps = np.flip(fir_taps) - # fir_taps = [1, 0, 0] - # iir_taps = [0, 0] + fir_taps = np.concatenate([np.zeros((len(iir_taps) + 1) - len(fir_taps)), fir_taps]) motor_directions = [1, -1, 0] steering_sign = 1