Added external magnetometer functionality

Dependencies:   HMC58X31 MODI2C MPU6050 MS561101BA

Dependents:   Quadcopter_mk2

Fork of FreeIMU by Yifei Teng

Committer:
joe4465
Date:
Wed Apr 01 11:18:37 2015 +0000
Revision:
18:0065ffbcd39b
Parent:
17:48a0eae27bf1
...

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 18:0065ffbcd39b 10 const int acc_off_x = 449;
joe4465 18:0065ffbcd39b 11 const int acc_off_y = -27;
joe4465 18:0065ffbcd39b 12 const int acc_off_z = -209;
joe4465 18:0065ffbcd39b 13 const float acc_scale_x = 16285.089903;
joe4465 18:0065ffbcd39b 14 const float acc_scale_y = 16533.516295;
joe4465 18:0065ffbcd39b 15 const float acc_scale_z = 16728.196873;
tyftyftyf 0:21840c01d3d7 16
joe4465 18:0065ffbcd39b 17 const int magn_off_x = 38;
joe4465 18:0065ffbcd39b 18 const int magn_off_y = -131;
joe4465 18:0065ffbcd39b 19 const int magn_off_z = -53;
joe4465 18:0065ffbcd39b 20 const float magn_scale_x = 515.502737;
joe4465 18:0065ffbcd39b 21 const float magn_scale_y = 504.864575;
joe4465 18:0065ffbcd39b 22 const float magn_scale_z = 455.191322;