-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversion between euler and quats doesn't seem stable #86
Comments
Looked at scipy, and that one works:
|
Would you mind opening a pull request with a unit test that demonstrates the failure? |
quats_from_euler are handled differently when using uppercase vs lowercase order. The default is uppercase which doesn't give the right angles when converting back to euler.
Done: #87 It seems the issue has to do with the order. The default uppercase "XYZ" has a different result than lowercase "xyz". |
pylinalg/pylinalg/quaternion.py Line 296 in 92a83a2
Using uppercase letters apparently makes that axis extrensic. I don't really understand what that means. |
My 2cts:
|
If you want to take a shot at it, you're more than welcome. We're shorthanded at the moment. |
Thanks for the offer. Am very busy, but who knows. |
While creating a pygfx Controller I noticed the following:
Moving from euler to quats and back is not stable.
Here's an example:
In code:
The text was updated successfully, but these errors were encountered: