Magnetometer values issue

Hi,

I am writing a Python script which uses a fuser (mag + acc + gyro) and simultaneously prints all these values. I have generated some data using the Metabase app to check the accuracy the values I am generating using the script. Upon comparison I noticed that while the acc + gyro readings are similar to the Metabase app data, the magnetometer data was completely different. This happened on both the MMR & MMC sensors. Kindly find attached my script, a print screen of some of the readings I am getting when running the script and the Metabase app magnetometer data. Could you assist me with this issue please?

Furthermore, I also tested the values when the sensors are kept still. Although the sensors are kept still, all the values vary slightly from previous ones. Could you please let me know why this is happening?

Thanks in advance.

Sign In or Register to comment.