Testing the Sensors with Python / C++ as indication for MP


I am looking to test the sensors independently before running things with Mission Planner etc.

When testing the AHRS script / 3Dimu.py from


alone with the Navio 2 and the RPi mounted to it,

I notice normal behaviour when accessing the MPU Sensor.

Anyhow, i can monitor in the LSM sensor small rotation even when the Navio 2 / RPI is not moved.

Is this indication that something is causing EMF to the LSM sensor specifically or is it normal of the LSM Sensor to cause small but constant rotation in the opengl visualization, even when not moved?

Small rotation in this example is to be expected because it doesn’t take into account data from compasses that could indeed stop the the skew.