SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By dennisma
#195031
I have a simple question: When using the DMP on the SEN-14001 using the MPU9250_DMP_Quaternion example code it appears that the magnetometer is NOT used to compensate for gyroscopic drift. It drifts about 1 degree every 3.5-4 minutes.

I am well aware of how gyros drift and how to compensate for them. It's just that I thought the DMP performed the compensation with the magnetometer but it appears it doesn't. Can someone just confirm this for me?

I am used to using the old 9DOF razor from Sparkfun and the firmware always appeared to compensate for drift with the magnetometer. I could run it for hours and my yaw never drifted.