edited colors and checked, that serial code works

This commit is contained in:
2025-08-05 10:45:08 +02:00
parent 2cf4b3b7fe
commit ac70053349
2 changed files with 6 additions and 4 deletions

View File

@@ -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])