diff --git a/scripts/LoggerControl.py b/scripts/LoggerControl.py index 4b9ce720cb699440097968a50db31af200f3b80b..64e04f765964309b035de23b8075e582ddc90fc2 100644 --- a/scripts/LoggerControl.py +++ b/scripts/LoggerControl.py @@ -650,6 +650,16 @@ class LoggerControl(): plt.ylabel("Time [s]") self.custom_suptitle("MPC solving time") + #### + # Step in system time at each loop + #### + plt.figure() + plt.plot(np.diff(self.tstamps)) + plt.legend(["System time step"]) + plt.xlabel("Loop []") + plt.ylabel("Time [s]") + self.custom_suptitle("System time step between 2 sucessive loops") + #### #Â Comparison of raw and filtered quantities (15 Hz and windowed) ####