-
Notifications
You must be signed in to change notification settings - Fork 87
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
SO3 .rpy() method #142
Comments
I think the documentation on
A couple things to note, focusing on
So with
I hope this helps. |
Thanks @jbarnett-bdai, there is so much confusion around this topic online, and a lot of sources are just plain wrong. There are two approaches that go by many different names intrinsic/extrinsic rotation, pre-/post-multiplication, fixed/current axes etc. I'll update the documentation with equations to make it really explicit what these functions are doing, though it's pretty clear in the code
There's an extra level of confusion because this function takes the angles in the reverse order to which they are used, ie. yaw is the last argument, but the first used (in a left to right sense). The similar MATLAB function I'll make a PR for this. |
Hello,
I noticed that the method .rpy(order='xyz') from spatialmath outputs the same as .as_euler('zyx') from scipy.spatial.transform.Rotation and .rpy(order='zyx') the same as .as_euler('xyz').
Is there something wrong with the rpy() method or did I misunderstand how the order is interpreted by the function?
Best regards
Julien
The text was updated successfully, but these errors were encountered: