Skip to content

Commit 76cd356

Browse files
committed
fix bug due to change in MPL 3.7
1 parent e1dbddb commit 76cd356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roboticstoolbox/blocks/uav.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ def plot3(h, x, y, z):
863863

864864
# plot the vehicle's centroid on the ground plane
865865
plot3(self.shadow, [z[0], 0], [-z[1], 0], [0, 0])
866-
plot3(self.groundmark, z[0], -z[1], 0)
866+
plot3(self.groundmark, [z[0]], [-z[1]], [0])
867867

868868
textstr = f"t={state.t: .2f}\nh={z[2]: .2f}\nγ={n[0]: .2f}"
869869
self.panel.set_text(textstr)

0 commit comments

Comments
 (0)