From 27775e09cc12157f9eae5765df75fc5847907e02 Mon Sep 17 00:00:00 2001 From: Brendan Haines Date: Mon, 2 Mar 2020 21:16:01 -0700 Subject: [PATCH] fix motor speed initialization --- Software/python/hwtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Software/python/hwtest.py b/Software/python/hwtest.py index 27415c7..6e6727d 100644 --- a/Software/python/hwtest.py +++ b/Software/python/hwtest.py @@ -133,7 +133,7 @@ def control_thread(): 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 + motor_speed = np.array([-1, 1, 0]) * base_speed # Read error brightness = np.clip([get_normalized_reflectivity(c) for c in range(8)], 0, 1)