MotionFX gives wrong results
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
#lsm9ds1 #motionfx #lis3mdl #lsm6ds0 Note: this post was migrated and contained many threaded conversations, some content may be missing.