diff options
author | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-04-11 05:46:10 +0200 |
---|---|---|
committer | Vegard Storheil Eriksen <zyp@jvnv.net> | 2011-04-11 05:46:10 +0200 |
commit | 82ffa82cc0423ed83ab94def6d3295f424a7c03c (patch) | |
tree | 3f95ee11a3c3d68371c33856bd5124eefe3c276b /IMU.h | |
parent | c6ac90fc731d8411380f582be3b91ce4e93f61fc (diff) |
Test IMU filter.
Diffstat (limited to 'IMU.h')
-rwxr-xr-x | IMU.h | 26 |
1 files changed, 26 insertions, 0 deletions
@@ -0,0 +1,26 @@ +//=====================================================================================================
+// IMU.h
+// S.O.H. Madgwick
+// 25th September 2010
+//=====================================================================================================
+//
+// See IMU.c file for description.
+//
+//=====================================================================================================
+#ifndef IMU_h
+#define IMU_h
+
+//----------------------------------------------------------------------------------------------------
+// Variable declaration
+
+extern float q0, q1, q2, q3; // quaternion elements representing the estimated orientation
+
+//---------------------------------------------------------------------------------------------------
+// Function declaration
+
+void IMUupdate(float gx, float gy, float gz, float ax, float ay, float az);
+
+#endif
+//=====================================================================================================
+// End of file
+//=====================================================================================================
\ No newline at end of file |