Format plot for consistency

This commit is contained in:
spencerfolk
2023-03-15 16:16:24 -04:00
committed by GitHub
parent bd3c128517
commit 22a8b33e5e

View File

@@ -157,7 +157,7 @@ class Plotter():
ax.set_ylabel("angular velocity, rad/s")
ax.grid()
ax.legend(('x','y','z'))
ax.set_xlabel("Time, s")
ax.set_xlabel("time, s")
if plot_estimator:
if self.estimator_exists:
@@ -244,4 +244,4 @@ class Plotter():
sd = []
self.estimator_exists = False
return (time, x, x_des, v, v_des, q, q_des, w, s, s_des, M, T, wind, accel, gyro, accel_gt, x_mc, v_mc, q_mc, w_mc, filter_state, covariance, sd)
return (time, x, x_des, v, v_des, q, q_des, w, s, s_des, M, T, wind, accel, gyro, accel_gt, x_mc, v_mc, q_mc, w_mc, filter_state, covariance, sd)