Troubleshooting

Dispersion error

If the user clicks on the button ‘Calibrate’ too soon, the calibration may not have enough samples. Even having enough samples, they may be too similar. Consequently, there is no enough information to properly perform the calibration. This will lead to the following error:

../_images/dispersion_error.png

Error - More dispersion needed

In this case, reset calibration and start again.

Calibration errors

During the calibration process the following errors may appear.

  • Unexpected error warning

    ../_images/calibration_error.png

    Error - Calibration Process Failed

    In this case, reset calibration and start the calibration process again.


  • Calibration not progressing

    If the calibration process of the magnetometer has been started, but the calibration status bar does not indicate any progress, the configuration of the sensor may be invalid.

    To solve this problem:

    1. Open MEX PDI Builder.

      Note

      Consult the MEX PDI Builder manual for more details on how to proceed.

    2. Go to Sensors menu \(\rightarrow\) Magnetometer tab.

    3. Ensure that the Magnetometer rotation matrix is not a zero matrix and respects the orthogonality of the axes.

      ../_images/zero_matrix.png

      MEX PDI Builder - Invalid magnetometer rotation matrix