From c217595c010bb2603c0e2178724ef1b1f2a9ba33 Mon Sep 17 00:00:00 2001 From: odri <odri@furano.laas.fr> Date: Fri, 17 Sep 2021 18:32:32 +0200 Subject: [PATCH] Add RMSE print --- scripts/LoggerControl.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/LoggerControl.py b/scripts/LoggerControl.py index 09cd3c38..b390dd34 100644 --- a/scripts/LoggerControl.py +++ b/scripts/LoggerControl.py @@ -364,6 +364,8 @@ class LoggerControl(): plt.ylabel(lgd[i]) self.custom_suptitle("Linear and angular velocities") + print("RMSE: ", np.sqrt(((self.loop_h_v[:, 0] - self.mocap_h_v[:, 0])**2).mean())) + # Analysis of the footstep locations (current and future) with a slider to move along time # self.slider_predicted_footholds() -- GitLab