edited colors and checked, that serial code works
This commit is contained in:
@@ -69,7 +69,8 @@ def plot_box(roll, pitch, yaw):
|
||||
ax = fig.add_subplot(111, projection='3d')
|
||||
|
||||
# Draw box
|
||||
ax.add_collection3d(Poly3DCollection(faces, facecolors='skyblue', edgecolors='black', linewidths=1, alpha=0.9))
|
||||
c = ['C0'] * 1 + ['C3'] + ['C0'] * 4
|
||||
ax.add_collection3d(Poly3DCollection(faces, facecolors=c, edgecolors='black', alpha=0.90))
|
||||
|
||||
# Axis setup
|
||||
ax.set_xlim([-1, 1])
|
||||
|
||||
Reference in New Issue
Block a user