Implemented first Hangar-Service
Dependencies: CalibrateMagneto QuaternionMath
Fork of SML2 by
Diff: SensorFusion.h
- Revision:
- 17:e9d42864c8a1
- Parent:
- 15:4488660e1a3b
- Child:
- 20:503cbe360419
diff -r 3e2468d4f4c1 -r e9d42864c8a1 SensorFusion.h --- a/SensorFusion.h Fri Mar 20 10:30:01 2015 +0000 +++ b/SensorFusion.h Thu Mar 26 15:43:49 2015 +0000 @@ -25,6 +25,7 @@ Quaternion q; float deltat, beta; void updateFilter(float ax, float ay, float az, float gx, float gy, float gz, float mx, float my, float mz); + Vector3 eulerAngles(Quaternion const &q) const; }; #endif \ No newline at end of file