Skip to content

About the quaternion convention #337

Answered by btaba
simon-bachhuber asked this question in Q&A
Discussion options

You must be logged in to vote

geometry.transform is the position/orientation of the geom in the parent frame, that docstring is a bit confusing
Here's an example of usage:

tx_i = x.take(geom_i.link_idx).vmap().do(geom_i.transform)

so in your case, r_parent is r_geom rotated by transform.rot in the parent frame

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by simon-bachhuber
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants