add axes3d to figure (#766)

This commit is contained in:
Lingkang Zhang
2022-12-30 15:38:43 -08:00
committed by GitHub
parent 6d27738e3d
commit af39afe05c

View File

@@ -51,6 +51,7 @@ class BipedalPlanner(object):
if plot:
fig = plt.figure()
ax = Axes3D(fig)
fig.add_axes(ax)
com_trajectory_for_plot = []
px, py = 0.0, 0.0 # reference footstep position