Madgwick

Dependents:   IMU_ethernet IMU_serial_test IMU_serial

Revision:
1:189289643d44
Parent:
0:2ed6ce16f06f
Child:
2:11ffe983c3f8
--- a/MadgwickAHRS.cpp	Wed Sep 28 23:58:40 2016 +0000
+++ b/MadgwickAHRS.cpp	Thu Oct 06 17:00:09 2016 +0000
@@ -28,7 +28,7 @@
 // Variable definitions
 
 volatile float beta = betaDef;                              // 2 * proportional gain (Kp)
-volatile float q0 = 1.0f, q1 = 0.0f, q2 = 0.0f, q3 = 0.0f;  // quaternion of sensor frame relative to auxiliary frame
+//volatile float q0 = 1.0f, q1 = 0.0f, q2 = 0.0f, q3 = 0.0f;  // quaternion of sensor frame relative to auxiliary frame
 
 //---------------------------------------------------------------------------------------------------
 // Function declarations