cancel
Showing results for 
Search instead for 
Did you mean: 

Regarding motion FX library

Anil3
Associate III

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?

1 ACCEPTED SOLUTION

Accepted Solutions
Eleon BORLINI
ST Employee

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

View solution in original post

3 REPLIES 3
Eleon BORLINI
ST Employee

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

Miroslav BATEK
ST Employee

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

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