AHRS

Dependencies:   Eigen

Dependents:   IndNav_QK3_T265

Revision:
3:6811c0ce95f6
Parent:
0:6661e1395e30
--- a/MadgwickAHRS.h	Fri Oct 26 05:56:25 2018 +0000
+++ b/MadgwickAHRS.h	Tue Dec 04 15:49:48 2018 +0000
@@ -39,7 +39,7 @@
 // Function declarations
 public:
     float invSampleFreq;
-    Madgwick(void);
+    Madgwick(float);
     void begin(float sampleFrequency) { invSampleFreq = 1.0f / sampleFrequency; }
     void update(float gx, float gy, float gz, float ax, float ay, float az, float mx, float my, float mz);
     void updateIMU(float gx, float gy, float gz, float ax, float ay, float az);