Skip to content
Snippets Groups Projects
Commit 14ec86d8 authored by odri's avatar odri
Browse files

Add plot of loop time

parent 3c29e53a
No related branches found
No related tags found
No related merge requests found
......@@ -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)
####
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment