From 6b3ba391b1f76d200ae8c8ceaa6f759fece3c7c9 Mon Sep 17 00:00:00 2001 From: Samuel Date: Sun, 5 Nov 2023 13:03:29 +0100 Subject: [PATCH] =?UTF-8?q?R=C3=A9affecter=20l'angle=20au=20gyroscope=20en?= =?UTF-8?q?=20m=C3=AAme=20temps=20que=20celui=20du=20robot=20lors=20d'un?= =?UTF-8?q?=20recalage=20-=20sinon,=20le=20recalage=20est=20"oubli=C3=A9"?= =?UTF-8?q?=20d=C3=A8s=20la=20prochaine=20lecture=20du=20gyroscope?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Localisation.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Localisation.c b/Localisation.c index f79363d..3c5b977 100644 --- a/Localisation.c +++ b/Localisation.c @@ -30,6 +30,7 @@ void Localisation_set_y(float y_mm){ void Localisation_set_angle(float angle_radian){ position.angle_radian = angle_radian; + gyro_set_angle_radian(angle_radian); } void Localisation_gestion(){