Skip to content

Commit

Permalink
fix flake8 issues
Browse files Browse the repository at this point in the history
  • Loading branch information
whoenig committed Jan 10, 2024
1 parent 911293e commit 57ee457
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions crazyflie_sim/crazyflie_sim/visualization/pdf.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def shutdown(self):

# position
fig, axs = plt.subplots(3, 1, sharex=True)
fig.suptitle(name + " position")
fig.suptitle(name + ' position')
axs[0].set_ylabel('px [m]')
axs[1].set_ylabel('py [m]')
axs[2].set_ylabel('pz [m]')
Expand All @@ -55,7 +55,7 @@ def shutdown(self):

# velocity
fig, axs = plt.subplots(3, 1, sharex=True)
fig.suptitle(name + " velocity")
fig.suptitle(name + ' velocity')
axs[0].set_ylabel('vx [m/s]')
axs[1].set_ylabel('vy [m/s]')
axs[2].set_ylabel('vz [m/s]')
Expand All @@ -70,7 +70,7 @@ def shutdown(self):

# orientation
fig, axs = plt.subplots(3, 1, sharex=True)
fig.suptitle(name + " orientation")
fig.suptitle(name + ' orientation')
axs[0].set_ylabel('roll [deg]')
axs[1].set_ylabel('pitch [deg]')
axs[2].set_ylabel('yaw [deg]')
Expand All @@ -89,7 +89,7 @@ def shutdown(self):

# omega
fig, axs = plt.subplots(3, 1, sharex=True)
fig.suptitle(name + " angular velocity")
fig.suptitle(name + ' angular velocity')
axs[0].set_ylabel('wx [deg/s]')
axs[1].set_ylabel('wy [deg/s]')
axs[2].set_ylabel('wz [deg/s]')
Expand All @@ -104,7 +104,7 @@ def shutdown(self):

# actions
fig, axs = plt.subplots(2, 2, sharex=True, sharey=True)
fig.suptitle(name + " motor actions")
fig.suptitle(name + ' motor actions')
axs[0, 0].set_ylabel('rpm')
axs[1, 0].set_ylabel('rpm')
axs[1, 0].set_xlabel('Time [s]')
Expand Down

0 comments on commit 57ee457

Please sign in to comment.