Question about MotionFX error in 9-axis
Hello,
I'm currently working on a project requiring to get X, Y and Z angles from 2 sensors, (IIS2MDC and ISM330DHCX). In order to do so, I use MotionFX and its 2 functions, MotionFX_propagate and MotionFX_update, both used to run Kalman STM's algorithms.
Everything works fine on the X and Y axis.
However, the Z axis is not responding as it should:
While the board is on it's first side, the Z angle is correctly read and computed. If the board is rotated of 90°, the result returned is indeed 90°.
But if the board is fliped on its other side, the angle I get is 60°.
Furthermore, that behavior is no observed if the data is acquired and processed as a 6-axis acquisition.
Has anyone observed such an issue? Could it be a magnetometer calibration or a sensor setup issue?
Many thanks for the help you could provide.
Matthieu
