Razor-AHRS / razor-9dof-ahrs

AHRS Firmware for the SparkFun 9DOF Razor IMU and SparkFun 9DOF Sensor Stick
Other
450 stars 264 forks source link

magnetometer calibration shows NaN #69

Open RalphKai opened 5 years ago

RalphKai commented 5 years ago

I try to calibrate my Razor IMU M0(SEN 14001) After closing Processing GUI, it comes out three lines. In my case, it shows: boolean CALIBRATION__MAGN_USE_EXTENDED = true; float magn_ellipsoid_center[3] = {528.455, -1481.73, -202.037}; float magn_ellipsoid_transform[3][3] = {{NaN, NaN, NaN}, {NaN, NaN, NaN}, {NaN, NaN, NaN}};

it's strange that magn_ellipsoid_transform get NaN, Can anyone give me some suggestions, thanks a lot.