Added external magnetometer functionality

Dependencies:   HMC58X31 MODI2C MPU6050 MS561101BA

Dependents:   Quadcopter_mk2

Fork of FreeIMU by Yifei Teng

Committer:
tyftyftyf
Date:
Sat Nov 02 17:25:51 2013 +0000
Revision:
0:21840c01d3d7
Child:
1:794e9cdbc2a0
Initial commit

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
tyftyftyf 0:21840c01d3d7 10 const int acc_off_x = 799;
tyftyftyf 0:21840c01d3d7 11 const int acc_off_y = 143;
tyftyftyf 0:21840c01d3d7 12 const int acc_off_z = -2724;
tyftyftyf 0:21840c01d3d7 13 const float acc_scale_x = 15256.909937;
tyftyftyf 0:21840c01d3d7 14 const float acc_scale_y = 17366.956857;
tyftyftyf 0:21840c01d3d7 15 const float acc_scale_z = 18168.225188;
tyftyftyf 0:21840c01d3d7 16
tyftyftyf 0:21840c01d3d7 17 const int magn_off_x = 10;
tyftyftyf 0:21840c01d3d7 18 const int magn_off_y = -45;
tyftyftyf 0:21840c01d3d7 19 const int magn_off_z = -161;
tyftyftyf 0:21840c01d3d7 20 const float magn_scale_x = 353.204566;
tyftyftyf 0:21840c01d3d7 21 const float magn_scale_y = 478.401406;
tyftyftyf 0:21840c01d3d7 22 const float magn_scale_z = 491.092701;