Added external magnetometer functionality

Dependencies:   HMC58X31 MODI2C MPU6050 MS561101BA

Dependents:   Quadcopter_mk2

Fork of FreeIMU by Yifei Teng

Committer:
tyftyftyf
Date:
Fri Jan 10 05:41:40 2014 +0000
Revision:
9:a79af1283446
Parent:
1:794e9cdbc2a0
Child:
13:21b275eeeda2
Tuning parameters

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 9:a79af1283446 10 const int acc_off_x = 72;
tyftyftyf 9:a79af1283446 11 const int acc_off_y = -8;
tyftyftyf 9:a79af1283446 12 const int acc_off_z = 211;
tyftyftyf 9:a79af1283446 13 const float acc_scale_x = 15827.435944;
tyftyftyf 9:a79af1283446 14 const float acc_scale_y = 16533.974047;
tyftyftyf 9:a79af1283446 15 const float acc_scale_z = 16841.679423;
tyftyftyf 0:21840c01d3d7 16
tyftyftyf 9:a79af1283446 17 const int magn_off_x = 56;
tyftyftyf 9:a79af1283446 18 const int magn_off_y = -73;
tyftyftyf 9:a79af1283446 19 const int magn_off_z = -145;
tyftyftyf 9:a79af1283446 20 const float magn_scale_x = 753.324584;
tyftyftyf 9:a79af1283446 21 const float magn_scale_y = 742.324931;
tyftyftyf 9:a79af1283446 22 const float magn_scale_z = 632.931308;