Added external magnetometer functionality
Dependencies: HMC58X31 MODI2C MPU6050 MS561101BA
Fork of FreeIMU by
Revision 18:0065ffbcd39b, committed 2015-04-01
- Comitter:
- joe4465
- Date:
- Wed Apr 01 11:18:37 2015 +0000
- Parent:
- 17:48a0eae27bf1
- Child:
- 19:ab5318ef31c4
- Commit message:
- ...
Changed in this revision
| HMC58X3.lib | Show annotated file Show diff for this revision Revisions of this file |
| calibration.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/HMC58X3.lib Wed Mar 04 18:50:06 2015 +0000 +++ b/HMC58X3.lib Wed Apr 01 11:18:37 2015 +0000 @@ -1,1 +1,1 @@ -http://mbed.org/users/tyftyftyf/code/HMC58X3/#8eb12adc8368 +http://mbed.org/users/tyftyftyf/code/HMC58X3/#cbeb4c54830c
--- a/calibration.h Wed Mar 04 18:50:06 2015 +0000 +++ b/calibration.h Wed Apr 01 11:18:37 2015 +0000 @@ -7,16 +7,16 @@ #define CALIBRATION_H -const int acc_off_x = 117; -const int acc_off_y = 57; -const int acc_off_z = -785; -const float acc_scale_x = 16371.245813; -const float acc_scale_y = 16402.576538; -const float acc_scale_z = 16638.329459; +const int acc_off_x = 449; +const int acc_off_y = -27; +const int acc_off_z = -209; +const float acc_scale_x = 16285.089903; +const float acc_scale_y = 16533.516295; +const float acc_scale_z = 16728.196873; -const int magn_off_x = 35; -const int magn_off_y = -123; -const int magn_off_z = -70; -const float magn_scale_x = 482.096863; -const float magn_scale_y = 472.363641; -const float magn_scale_z = 425.339693; +const int magn_off_x = 38; +const int magn_off_y = -131; +const int magn_off_z = -53; +const float magn_scale_x = 515.502737; +const float magn_scale_y = 504.864575; +const float magn_scale_z = 455.191322;
Joseph Roberts
