Heading values of sensor fusion library incorrect?!
I noticed wrong values for heading when using 9x fusion library. When placing board flat on the table, then tilt and move it and replace it to the exact same position as before, the heading value differs by up to 90 degree. There seems to be an issue with the magnetic orientation in the library. Tilting the board without changing the orientation to north also results in wrong heading. I assume the heading values are tilt-compensated?!
Hardware: STM32L476RG Nucleo Board with IKS01A3 extension board
Software: CubeMx generated Demo Example "Sensor Fusion", FW version 7.2.0, Lib Version 2.4.0
Unicleo version: 1.12.0.10365
After running this example application I checked all sensor outputs. When moving and tilting the board the sensor values for Gyro,Acc and Mag seems to be reasonable.
Therefore I assume HW and SW are working as expected.
Could anybody pls. give some recommendations how to solve that issue.
I already created a ticket, but so far I got no response:
https://community.st.com/s/case/5003W000002c62b/motionfx-library-reports-wrong-heading-values
Best regards,
Marten
