From 82ffa82cc0423ed83ab94def6d3295f424a7c03c Mon Sep 17 00:00:00 2001 From: Vegard Storheil Eriksen Date: Mon, 11 Apr 2011 05:46:10 +0200 Subject: Test IMU filter. --- IMU.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 IMU.h (limited to 'IMU.h') diff --git a/IMU.h b/IMU.h new file mode 100755 index 0000000..f25f38c --- /dev/null +++ b/IMU.h @@ -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 -- cgit v1.2.3