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

Content deleted Content added
ERCaGuy (talk | contribs)
Line 116:
assert (pitch1 - pitch2) < 10e-7
</syntaxhighlight>[[User:Ebernardes|Ebernardes]] ([[User talk:Ebernardes|talk]]) 16:41, 18 December 2022 (UTC)
 
---
 
{{reply to|Ebernardes}}, I think you mean 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.
--[[User:ERCaGuy|ERCaGuy]] ([[User talk:ERCaGuy|talk]]) 03:55, 12 October 2023 (UTC)