Skip to content
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

Joint position encoding for articulations #344

Closed
cfognom opened this issue Oct 4, 2020 · 2 comments
Closed

Joint position encoding for articulations #344

cfognom opened this issue Oct 4, 2020 · 2 comments

Comments

@cfognom
Copy link

cfognom commented Oct 4, 2020

If I have a 3 dof reduced coordinate articulation joint, what is the encoding of the joint positions? I'm using PhysX though Unity and have tested all 6 possible Tait–Bryan rotation orderings to reproduce the joint positions of the articulation, but neither of them were accurate. I also found an earlier post about this issue, saying that the ordering was (ZYX format, Tait-bryan) but according to my tests it is not. Why is this not specified in the docs?

@lasagnaphil
Copy link

The spherical joint format abruptly changed in an update in 4.1.1. The joint rotations are now embedded in a rotation vector (axis-angle representation). I guess this change was necessary to avoid singularities in the previous Euler angle representation, but it was quite frustrating that this wasn't anywhere in the docs or the changelogs.

@cfognom
Copy link
Author

cfognom commented Oct 29, 2020

Ah, yes axis angle accurately reproduces their rotations. Thank you!

@cfognom cfognom closed this as completed Oct 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants