From 0172457394b0ab53d60e770ed55b7a16eb76f14d Mon Sep 17 00:00:00 2001 From: Daniel Ingram Date: Wed, 3 Oct 2018 07:57:27 -0400 Subject: [PATCH] Fix Issue #106 --- AerialNavigation/drone_3d_trajectory_following/Quadrotor.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AerialNavigation/drone_3d_trajectory_following/Quadrotor.py b/AerialNavigation/drone_3d_trajectory_following/Quadrotor.py index de8308ff..452c43db 100644 --- a/AerialNavigation/drone_3d_trajectory_following/Quadrotor.py +++ b/AerialNavigation/drone_3d_trajectory_following/Quadrotor.py @@ -22,13 +22,13 @@ class Quadrotor(): self.z_data = [] self.show_animation = show_animation - self.update_pose(x, y, z, roll, pitch, yaw) - if self.show_animation: plt.ion() fig = plt.figure() self.ax = fig.add_subplot(111, projection='3d') + self.update_pose(x, y, z, roll, pitch, yaw) + def update_pose(self, x, y, z, roll, pitch, yaw): self.x = x self.y = y