Skip to main content
Graduate
October 13, 2022
Solved

Regarding motion FX library

  • October 13, 2022
  • 2 replies
  • 1416 views

Hello Everyone,

I am using ISM330DLC and able to read X,Y,Z and motion FX library in my application (Gyroscope) to get Eluer angle's and here is my doubt that before giving the senor raw data to the FX library, we supposed to do the gyroscope calibration or the FX library will handle calibration?

    This topic has been closed for replies.
    Best answer by Eleon BORLINI

    Hi @Anil​ ,

    In theory you can do both gyroscope and magnetometer calibration with Motion FX, but the suggestion is always to perform calibration before running this library, for example using the MotionAC and MotionGC libraries for accelerometer and gyroscope calibration.

    -Eleon

    2 replies

    ST Employee
    October 14, 2022

    Hi @Anil​ ,

    In theory you can do both gyroscope and magnetometer calibration with Motion FX, but the suggestion is always to perform calibration before running this library, for example using the MotionAC and MotionGC libraries for accelerometer and gyroscope calibration.

    -Eleon

    Explorer
    January 5, 2024

    Hi Eleon,

    We have been using the MotionFX lib with 6X, LMode 1 static.
    This seems to work for me if the unit starts of stationary; if it does not then we get drift in YAW.
    Selecting LMode 2 has not helped matters; and we suspect the Gyro calibration is not kicking in.

    You seem to suggest this automatic learning mode of the library should not be used; but to feed calibrated values to the fusion?

    regards,
    Owain

    ST Employee
    October 14, 2022

    The gyroscope calibration inside MotionFX can be enabled/disabled using LMode parameter. Please check MotionFX user manual.