How to get the axis of a revolute joint? #2196
-
I want to get a Thank you very much ! |
Beta Was this translation helpful? Give feedback.
Answered by
jcarpent
Mar 29, 2024
Replies: 1 comment 5 replies
-
Unfortunately, there is not yet a direct helper to extract it. import pinocchio as pin
joint_model = pin.JointModelRX()
joint_data = joint_model.createData()
axis = joint_data.S[3:] @jorisv Will you have time to add the |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
jcarpent
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Unfortunately, there is not yet a direct helper to extract it.
Yet, you can recover this information partially as follows:
@jorisv Will you have time to add the
getMotionAxis
helper to all revolute and prismatic joints in Pinocchio and expose it to Python?