From 1162f0ed63b243ca75ed23a0a8bd34567ed0ca5a Mon Sep 17 00:00:00 2001 From: Juan Carlos Niebles Date: Wed, 17 Sep 2014 19:02:12 -0500 Subject: [PATCH] fixed whitespaces --- samples/python2/kalman.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/samples/python2/kalman.py b/samples/python2/kalman.py index fcb78478eef3..1b82e0d8657c 100755 --- a/samples/python2/kalman.py +++ b/samples/python2/kalman.py @@ -62,7 +62,7 @@ def calc_point(angle): predict_pt = calc_point(predict_angle) - measurement = measurement_noise_cov * np.random.randn(1, 1) + measurement = measurement_noise_cov * np.random.randn(1, 1) # generate measurement measurement = np.dot(measurement_matrix, state) + measurement @@ -88,7 +88,6 @@ def draw_cross(center, color, d): kalman.correct(measurement) process_noise = process_noise_cov * np.random.randn(2, 1) - state = np.dot(transition_matrix, state) + process_noise cv2.imshow("Kalman", img)