Format plot for consistency
This commit is contained in:
@@ -157,7 +157,7 @@ class Plotter():
|
|||||||
ax.set_ylabel("angular velocity, rad/s")
|
ax.set_ylabel("angular velocity, rad/s")
|
||||||
ax.grid()
|
ax.grid()
|
||||||
ax.legend(('x','y','z'))
|
ax.legend(('x','y','z'))
|
||||||
ax.set_xlabel("Time, s")
|
ax.set_xlabel("time, s")
|
||||||
|
|
||||||
if plot_estimator:
|
if plot_estimator:
|
||||||
if self.estimator_exists:
|
if self.estimator_exists:
|
||||||
@@ -244,4 +244,4 @@ class Plotter():
|
|||||||
sd = []
|
sd = []
|
||||||
self.estimator_exists = False
|
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)
|
||||||
|
|||||||
Reference in New Issue
Block a user