quick and probably buggy port from the FreeIMU 0.4 library adapted for MBED and MPU6050 only...

Dependencies:   MPU6050_tmp mbed

calibration.h

Committer:
pommzorz
Date:
2013-02-20
Revision:
3:907803d8be4d
Parent:
0:c7a5b6fa0171

File content as of revision 3:907803d8be4d:


/**
 * FreeIMU calibration header. Automatically generated by octave AccMagnCalib.m.
 * Do not edit manually unless you know what you are doing.
*/

/* // following example of calibration.h 
#define CALIBRATION_H

const int acc_off_x = 205;
const int acc_off_y = -39;
const int acc_off_z = 1063;
const float acc_scale_x = 7948.565970;
const float acc_scale_y = 8305.469320;
const float acc_scale_z = 8486.650841;

const int magn_off_x = 67;
const int magn_off_y = -59;
const int magn_off_z = 26;
const float magn_scale_x = 527.652115;
const float magn_scale_y = 569.016790;
const float magn_scale_z = 514.710857;
*/