Commit 1162f0ed authored by Juan Carlos Niebles's avatar Juan Carlos Niebles

fixed whitespaces

parent f610c881
...@@ -62,7 +62,7 @@ if __name__ == "__main__": ...@@ -62,7 +62,7 @@ if __name__ == "__main__":
predict_pt = calc_point(predict_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 # generate measurement
measurement = np.dot(measurement_matrix, state) + measurement measurement = np.dot(measurement_matrix, state) + measurement
...@@ -88,7 +88,6 @@ if __name__ == "__main__": ...@@ -88,7 +88,6 @@ if __name__ == "__main__":
kalman.correct(measurement) kalman.correct(measurement)
process_noise = process_noise_cov * np.random.randn(2, 1) process_noise = process_noise_cov * np.random.randn(2, 1)
state = np.dot(transition_matrix, state) + process_noise state = np.dot(transition_matrix, state) + process_noise
cv2.imshow("Kalman", img) cv2.imshow("Kalman", img)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment