AnsweredAssumed Answered

MotionFX gives wrong results

Question asked by Sergey Sokol on Feb 14, 2018
Latest reply on Feb 23, 2018 by Sergey Sokol

Hello to all,

 

I'm trying to get run the MotionFX library using STM32F4 Discovery board and STEVAL-MKI159V1 board (which consists of 9 axes LSM9DS1 inertial module). I represent this module as a combination of LSM6DS0 accelerometer+gyroscope and LIS3MDL magnetometer which seems to be correct according to the data sheets of these modules.

 

I got the library run but the output values are very weird.

 

Firstly, I can't find the units of them anywhere. Are they the same as input units?

 

Secondly, the gravity data just roll from -1 to 1 for all axes.

The acceleration and rotation seem to be random numbers.

The heading has some consistency but sill jumps as well.

 

Also I never can get the magnetometer calibration done.

 

I've checked the input data and it seems to be correct for all sensors.

 

Can anybody help me and explain what I'm doing wrong?

 

Kind regards,

Sergey

Outcomes