razor_imu_9dof magnetometer standard calibration?

asked 2016-03-02 21:38:28 -0500

tang6177890 gravatar image

updated 2016-03-03 02:26:24 -0500

Akif gravatar image

Hello: We used razor_imu_9dof. According to the wiki, the results of the magnetometer calibration in the processing console are only extended model parameters like below,so how can I get the standard calibration parameters?

In the Razor_AHRS.ino, under 'SENSOR CALIBRATION' find the section that reads 'Magnetometer (extended calibration)' Replace the existing 3 lines with these:

#define CALIBRATION__MAGN_USE_EXTENDED true
const float magn_ellipsoid_center[3] = {-91.3749, -45.3609, 97.3201};
const float magn_ellipsoid_transform[3][3] = {{0.985111, 0.0301747, 0.0306485}, {0.0301747, 0.938716, -0.0562648}, {0.0306485, -0.0562648, 0.675503}};
edit retag flag offensive close merge delete

Comments

This is a duplicate of magnetometer calibration standard model?. @tang6177890: if you have additional information, please update your first question, don't create a new one.

gvdhoorn gravatar imagegvdhoorn ( 2016-03-03 03:08:55 -0500 )edit

yes. I forgot pointing out the hardware razor_imu_9dof in the first question. I will delete the first one @gvdhoorn

tang6177890 gravatar imagetang6177890 ( 2016-03-04 19:21:48 -0500 )edit