About the quaternion convention #337
Answered
by
btaba
simon-bachhuber
asked this question in
Q&A
-
Suppose one starts with the docstring from
And now we use this transform to rotate a vector
What is the interpretation here? Is
Note: These two interpretations are related by inverting |
Beta Was this translation helpful? Give feedback.
Answered by
btaba
Apr 18, 2023
Replies: 1 comment
-
geometry.transform is the position/orientation of the geom in the parent frame, that docstring is a bit confusing Line 499 in ff3ff64 so in your case, r_parent is r_geom rotated by transform.rot in the parent frame |
Beta Was this translation helpful? Give feedback.
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
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:
brax/brax/geometry/contact.py
Line 499 in ff3ff64
so in your case, r_parent is r_geom rotated by transform.rot in the parent frame