From ca7ba62e6b38083edb54998f11da97ff531dda08 Mon Sep 17 00:00:00 2001 From: Andreas Tsouchlos Date: Wed, 27 Apr 2022 15:13:21 +0200 Subject: [PATCH] Fixed typo in filename --- display/{dislpay_2d.py => display_2d.py} | 0 examples/gps_two_sources_animated.py | 5 +++-- examples/second_order_system_animated.py | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) rename display/{dislpay_2d.py => display_2d.py} (100%) diff --git a/display/dislpay_2d.py b/display/display_2d.py similarity index 100% rename from display/dislpay_2d.py rename to display/display_2d.py diff --git a/examples/gps_two_sources_animated.py b/examples/gps_two_sources_animated.py index 1893b40..fdc54c9 100644 --- a/examples/gps_two_sources_animated.py +++ b/examples/gps_two_sources_animated.py @@ -3,7 +3,7 @@ import numpy as np from time import sleep from matplotlib.animation import FuncAnimation -from display.dislpay_2d import Displayer +from display.display_2d import Displayer def run(kalman_filter_t): @@ -78,4 +78,5 @@ def run(kalman_filter_t): disp.register_object("filtered", "blue") disp.register_object("ground_truth", "green") - disp.animate(n_steps=n_iterations, anim_callback=update) + #disp.animate(n_steps=n_iterations, anim_callback=update) + disp.save_frames([1, 20, 70], update) diff --git a/examples/second_order_system_animated.py b/examples/second_order_system_animated.py index a7ac80b..76f9856 100644 --- a/examples/second_order_system_animated.py +++ b/examples/second_order_system_animated.py @@ -3,7 +3,7 @@ import numpy as np from time import sleep from matplotlib.animation import FuncAnimation -from display.dislpay_2d import Displayer +from display.display_2d import Displayer def run(kalman_filter_t):