Added external magnetometer functionality
Dependencies: HMC58X31 MODI2C MPU6050 MS561101BA
Fork of FreeIMU by
Diff: calibration.h
- Revision:
- 0:21840c01d3d7
- Child:
- 1:794e9cdbc2a0
diff -r 000000000000 -r 21840c01d3d7 calibration.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/calibration.h Sat Nov 02 17:25:51 2013 +0000 @@ -0,0 +1,22 @@ + +/** + * FreeIMU calibration header. Automatically generated by FreeIMU_GUI. + * Do not edit manually unless you know what you are doing. +*/ + + +#define CALIBRATION_H + +const int acc_off_x = 799; +const int acc_off_y = 143; +const int acc_off_z = -2724; +const float acc_scale_x = 15256.909937; +const float acc_scale_y = 17366.956857; +const float acc_scale_z = 18168.225188; + +const int magn_off_x = 10; +const int magn_off_y = -45; +const int magn_off_z = -161; +const float magn_scale_x = 353.204566; +const float magn_scale_y = 478.401406; +const float magn_scale_z = 491.092701;