-
Hi, I was able to load in the Stretch URDF after updating to the latest pinocchio version -- thanks so much for your help! I am trying to obtain the position of "joint_gripper_fingertip_right" for inverse kinematics, which is a joint in the URDF file but not a joint in the model (i.e. it is not displayed under the list of joints when I look at Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
Hi @arjung128 ,
Please check the examples and detailed tutorials, also there is a cheatsheet to give you an overview. You will have to use functions like |
Beta Was this translation helpful? Give feedback.
-
Thanks @arjung128 for sharing the compiled Stretch URDF 😃 On a related note, here is one example on using Pinocchio to do task-based inverse kinematics with this description: stretch_example.mp4 |
Beta Was this translation helpful? Give feedback.
-
@fabinsch @stephane-caron This is incredibly helpful -- thanks so much! When I try using line
Which always prints out:
This output doesn't seem to change even as |
Beta Was this translation helpful? Give feedback.
You have to use
data.oMf[frame_id]
. The model never changes, just data changes. These are concepts that are explained in the tutorials and examples.