pyquaternion
pyquaternion copied to clipboard
add eulers angles
add method to retreive euler angle with convention as parameter
Thanks for the PR @mgoacolou
After taking a look, I like what you're doing. Is there a reason you've used the matrix form as an intermediate representation? I'd rather not have to go through the extra conversion step if possible as it compounds any errors in the conversions or bugs in the code.
After a quick google, it seems there may be some resources for converting directly between quaternion form and Euler angles see https://math.stackexchange.com/a/693368 Unfortunately, this only defines operations for the z-x-z and z-y-x conventions.
My preference would be to implement at least those two conventions via direct conversion from quaternion form and leave it open to being extended for additional conventions via future PRs
Do you plan to merge this into master
anytime soon? Or, is there another way to convert from quaternions to Euler angles?
Is this PR ready to go, just waiting to be rolled into the 1.0 release?
Any updates on this? Would love euler angle support.
Any updates there? Why this PR can't merge 4 years?