MotionFX: Different between implementation for M0 vs. M3
Hi,
i am trying to use the MotionFX library on M0 MCU for LSM9DS1. As result i read the rotation_9X structure and use yaw as heading for compass result. The result showing the rotation but i see the offset on the Z axis of the gyro and the heading result changing according to this offset (i hold the PCB in one position but angle changing).
I was analyzing the library and found that the MotionFX implementation for M3 has an additional field: heading_9X. What is the difference between rotation and heading? If heading is the rotation around Z, why this field is an array?
Is it correct to use rotation9X as the compass output on the M0 implementation?
Thx
