//===================================================================================================== // 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 //=====================================================================================================