AHRS

Dependencies:   Eigen

Dependents:   IndNav_QK3_T265

Revision:
5:eee47600b772
Parent:
4:3c21fb0c9e84
Child:
6:5824bd96b6cf
diff -r 3c21fb0c9e84 -r eee47600b772 AHRS.h
--- a/AHRS.h	Fri May 03 13:46:40 2019 +0000
+++ b/AHRS.h	Fri May 03 14:43:47 2019 +0000
@@ -13,13 +13,13 @@
     virtual ~AHRS();
     
     float getRoll() {
-        return 0.0;//RPY_filter.getRoll();
+        return RPY_filter.get_est_state(1);
     }
     float getPitch() {
-        return 0.0;//RPY_filter.getPitch();
+        return RPY_filter.get_est_state(2);
     }
     float getYaw() {
-        return 0.0;//RPY_filter.getYaw();
+        return 0;
     }
     LSM9DS1 imu;
     //Mahony RPY_filter;