Added external magnetometer functionality

Dependencies:   HMC58X31 MODI2C MPU6050 MS561101BA

Dependents:   Quadcopter_mk2

Fork of FreeIMU by Yifei Teng

Committer:
joe4465
Date:
Thu Sep 18 08:43:06 2014 +0000
Revision:
13:21b275eeeda2
Parent:
9:a79af1283446
Child:
17:48a0eae27bf1
Same as MPU6050

Who changed what in which revision?

UserRevisionLine numberNew contents of line
tyftyftyf 0:21840c01d3d7 1
tyftyftyf 0:21840c01d3d7 2 /**
tyftyftyf 0:21840c01d3d7 3 * FreeIMU calibration header. Automatically generated by FreeIMU_GUI.
tyftyftyf 0:21840c01d3d7 4 * Do not edit manually unless you know what you are doing.
tyftyftyf 0:21840c01d3d7 5 */
tyftyftyf 0:21840c01d3d7 6
tyftyftyf 0:21840c01d3d7 7
tyftyftyf 0:21840c01d3d7 8 #define CALIBRATION_H
tyftyftyf 0:21840c01d3d7 9
joe4465 13:21b275eeeda2 10 const int acc_off_x = 178;
joe4465 13:21b275eeeda2 11 const int acc_off_y = -54;
joe4465 13:21b275eeeda2 12 const int acc_off_z = -1552;
joe4465 13:21b275eeeda2 13 const float acc_scale_x = 16330.269447;
joe4465 13:21b275eeeda2 14 const float acc_scale_y = 16448.123415;
joe4465 13:21b275eeeda2 15 const float acc_scale_z = 16649.766786;
tyftyftyf 0:21840c01d3d7 16
joe4465 13:21b275eeeda2 17 const int magn_off_x = -273;
joe4465 13:21b275eeeda2 18 const int magn_off_y = -199;
joe4465 13:21b275eeeda2 19 const int magn_off_z = -367;
joe4465 13:21b275eeeda2 20 const float magn_scale_x = 659.619061;
joe4465 13:21b275eeeda2 21 const float magn_scale_y = 732.911552;
joe4465 13:21b275eeeda2 22 const float magn_scale_z = 610.211750;