SparkFun Forums 

Where electronics enthusiasts find answers.

Have questions about a SparkFun product or board? This is the place to be.
By Juli
#195724
Dear tedd,

Have you finally reached to a solution for your problem?

I'm really new at Arduino and also at Razor IMU, and I'm having the same issue with the Euler angles. Should I develop a new routine like you did or do you know if it's possible to fix this problem on the original firmware code?

thank you very much.
By evsc
#197910
After the code-fixes to the computeEulerAngles function, the values definitely looks better (even though the pitch and roll dependency is a bit unexpected). So thanks for that! But I also have this other weirdness: the pitch values are ping-ponging. Instead of going a full 360, they go 0 > 90 > 0 > -90. Anyone noticed the same behavior or have an idea where this could originate from?