Hello Forum and ST support,
I am using LSM9DS1 IMU sensor, and In the datasheet, they've mentioned that LSM9DS1 Magnetometers are factory calibrated, but when I calculate the heading and I compare it with a compass App I don't get the same value or even an approached one.
I am using a SparkFun LSM9DS1 library which contains a magnetometer calibration function.
What do you suggest to solve this problem? Is there any process to follow in order to calibrate LSM9DS1 magnetometer before using it?
Here are the results that I got :
Thank you in advance.