From e215fd6c52075dff69abb71f6aaa067ff9883680 Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Wed, 8 Apr 2020 14:41:41 -0600 Subject: [PATCH] fix parsing of controller --- Software/python/server.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Software/python/server.py b/Software/python/server.py index 88e5770..3fcfb8d 100644 --- a/Software/python/server.py +++ b/Software/python/server.py @@ -109,6 +109,8 @@ def controller(): base_speed = 0.1 fir_taps = np.flip(D.num) iir_taps = np.flip(D.num[1:]) + if len(iir_taps) == 0: + iir_taps = [0] # fir_taps = [1, 0, 0] # iir_taps = [0, 0]