Madgwick
Dependents: IMU_ethernet IMU_serial_test IMU_serial
Diff: MadgwickAHRS.h
- Revision:
- 3:689b64501b7d
- Parent:
- 1:189289643d44
--- a/MadgwickAHRS.h Thu Oct 06 17:34:56 2016 +0000 +++ b/MadgwickAHRS.h Thu Oct 06 23:35:07 2016 +0000 @@ -22,8 +22,8 @@ //--------------------------------------------------------------------------------------------------- // Function declarations -extern void MadgwickAHRSupdate(float gx, float gy, float gz, float ax, float ay, float az, float mx, float my, float mz, float q0, float q1, float q2, float q3); -extern void MadgwickAHRSupdateIMU(float gx, float gy, float gz, float ax, float ay, float az, float q0, float q1, float q2, float q3); +extern void MadgwickAHRSupdate(float gx, float gy, float gz, float ax, float ay, float az, float mx, float my, float mz, float &q0, float &q1, float &q2, float &q3); +extern void MadgwickAHRSupdateIMU(float gx, float gy, float gz, float ax, float ay, float az, float &q0, float &q1, float &q2, float &q3); #endif //=====================================================================================================