quick and probably buggy port from the FreeIMU 0.4 library adapted for MBED and MPU6050 only...
Dependencies: MPU6050_tmp mbed
calibration.h@3:907803d8be4d, 2013-02-20 (annotated)
- Committer:
- pommzorz
- Date:
- Wed Feb 20 18:31:38 2013 +0000
- Revision:
- 3:907803d8be4d
- Parent:
- 0:c7a5b6fa0171
zboub
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| pommzorz | 0:c7a5b6fa0171 | 1 | |
| pommzorz | 0:c7a5b6fa0171 | 2 | /** |
| pommzorz | 0:c7a5b6fa0171 | 3 | * FreeIMU calibration header. Automatically generated by octave AccMagnCalib.m. |
| pommzorz | 0:c7a5b6fa0171 | 4 | * Do not edit manually unless you know what you are doing. |
| pommzorz | 0:c7a5b6fa0171 | 5 | */ |
| pommzorz | 0:c7a5b6fa0171 | 6 | |
| pommzorz | 0:c7a5b6fa0171 | 7 | /* // following example of calibration.h |
| pommzorz | 0:c7a5b6fa0171 | 8 | #define CALIBRATION_H |
| pommzorz | 0:c7a5b6fa0171 | 9 | |
| pommzorz | 0:c7a5b6fa0171 | 10 | const int acc_off_x = 205; |
| pommzorz | 0:c7a5b6fa0171 | 11 | const int acc_off_y = -39; |
| pommzorz | 0:c7a5b6fa0171 | 12 | const int acc_off_z = 1063; |
| pommzorz | 0:c7a5b6fa0171 | 13 | const float acc_scale_x = 7948.565970; |
| pommzorz | 0:c7a5b6fa0171 | 14 | const float acc_scale_y = 8305.469320; |
| pommzorz | 0:c7a5b6fa0171 | 15 | const float acc_scale_z = 8486.650841; |
| pommzorz | 0:c7a5b6fa0171 | 16 | |
| pommzorz | 0:c7a5b6fa0171 | 17 | const int magn_off_x = 67; |
| pommzorz | 0:c7a5b6fa0171 | 18 | const int magn_off_y = -59; |
| pommzorz | 0:c7a5b6fa0171 | 19 | const int magn_off_z = 26; |
| pommzorz | 0:c7a5b6fa0171 | 20 | const float magn_scale_x = 527.652115; |
| pommzorz | 0:c7a5b6fa0171 | 21 | const float magn_scale_y = 569.016790; |
| pommzorz | 0:c7a5b6fa0171 | 22 | const float magn_scale_z = 514.710857; |
| pommzorz | 0:c7a5b6fa0171 | 23 | */ |
| pommzorz | 0:c7a5b6fa0171 | 24 |