From 38ee776946d8a6e09891655f5525a870d0f4cab5 Mon Sep 17 00:00:00 2001 From: paleziart <paleziart@laas.fr> Date: Mon, 20 Sep 2021 18:34:33 +0200 Subject: [PATCH] Plot RMSE between mocap and ref --- scripts/LoggerControl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/LoggerControl.py b/scripts/LoggerControl.py index d702a334..4b9ce720 100644 --- a/scripts/LoggerControl.py +++ b/scripts/LoggerControl.py @@ -367,7 +367,7 @@ 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())) + print("RMSE: ", np.sqrt(((self.joy_v_ref[:-1000, 0] - self.mocap_h_v[:-1000, 0])**2).mean())) # Analysis of the footstep locations (current and future) with a slider to move along time # self.slider_predicted_footholds() -- GitLab