Talk:Conversion between quaternions and Euler angles: Difference between revisions

Content deleted Content added
ERCaGuy (talk | contribs)
ERCaGuy (talk | contribs)
Line 119:
---
 
{{reply to|Ebernardes}}, I think you meanare referring to this revision you made, right?: https://en.wikipedia.org/w/index.php?title=Conversion_between_quaternions_and_Euler_angles&diff=1128143523&oldid=1128124788
 
And I think in your code above, <code>pitch1</code> is the new code, and <code>pitch2</code> was the old calculation, right? What are the problems with <code>pitch2</code>? Why is using <code>pitch1</code> better? Also, you have a typo I believe: it should be <code>pitch2 = np.arcsin(2*(w*y - z*x))</code>. You have <code>w*x</code> mistakenly where <code>w*y</code> goes.