Skip to content

Commit 0172457

Browse files
Fix Issue AtsushiSakai#106
1 parent 0fde4a8 commit 0172457

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

AerialNavigation/drone_3d_trajectory_following/Quadrotor.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,13 @@ def __init__(self, x=0, y=0, z=0, roll=0, pitch=0, yaw=0, size=0.25, show_animat
2222
self.z_data = []
2323
self.show_animation = show_animation
2424

25-
self.update_pose(x, y, z, roll, pitch, yaw)
26-
2725
if self.show_animation:
2826
plt.ion()
2927
fig = plt.figure()
3028
self.ax = fig.add_subplot(111, projection='3d')
3129

30+
self.update_pose(x, y, z, roll, pitch, yaw)
31+
3232
def update_pose(self, x, y, z, roll, pitch, yaw):
3333
self.x = x
3434
self.y = y

0 commit comments

Comments
 (0)