![](/media/cache/group/11700697_10200701668420946_8214886085951071495_o.jpg.50x50_q85.jpg)
Class of MPU9250
Dependencies: AHRS_fillter mbed
Fork of MPU9250AHRS by
Diff: main.cpp
- Revision:
- 5:d31487b34216
- Parent:
- 4:1e5db958fd1b
- Child:
- 6:5665d427bceb
diff -r 1e5db958fd1b -r d31487b34216 main.cpp --- a/main.cpp Fri Dec 18 20:49:39 2015 +0000 +++ b/main.cpp Fri Dec 18 21:21:36 2015 +0000 @@ -202,9 +202,9 @@ - magbias[0] = ((xmax-xmin)/2.0f - xmax); // User environmental x-axis correction in milliGauss, should be automatically calculated - magbias[1] = ((ymax-ymin)/2.0f - ymax); // User environmental x-axis correction in milliGauss - magbias[2] = ((zmax-zmin)/2.0f - zmax); // User environmental x-axis correction in milliGauss +// magbias[0] = ((xmax-xmin)/2.0f - xmax); // User environmental x-axis correction in milliGauss, should be automatically calculated +// magbias[1] = ((ymax-ymin)/2.0f - ymax); // User environmental x-axis correction in milliGauss +// magbias[2] = ((zmax-zmin)/2.0f - zmax); // User environmental x-axis correction in milliGauss magbias[0] = -1.0; magbias[1] = -1.0;