26 #ifndef FUSION_TYPES_H_
27 #define FUSION_TYPES_H_
31 #define NED 0 // identifier for NED angle output
32 #define ANDROID 1 // identifier for Andro
33 #define WIN8 2 // identifier for Windows 8 angle output
36 #define PI 3.141592654F // Pi
37 #define FPIOVER180 0.01745329251994F // degrees to radians conversion = pi / 180
38 #define F180OVERPI 57.2957795130823F // radians to degrees conversion = 180 / pi
39 #define F180OVERPISQ 3282.8063500117F // square of F180OVERPI
40 #define ONETHIRD 0.33333333F // one third
41 #define ONESIXTH 0.166666667F // one sixth
42 #define ONEOVER48 0.02083333333F // 1 / 48
43 #define ONEOVER120 0.0083333333F // 1 / 120
44 #define ONEOVER3840 0.0002604166667F // 1 / 3840
45 #define ONEOVERSQRT2 0.707106781F // 1/sqrt(2)
46 #define GTOMSEC2 9.80665 // standard gravity in m/s2
int16 iFirstOrientationLock
uint8 gyroOversampleRatio
int16 iFirstOrientationLock
float fAlphaOver2SqQvYQwb
uint8 accelOversampleRatio
enum quaternion quaternion_type
uint8 pressureOversampleRatio
float fAlphaOver2SqQvYQwb