Error loading pinocchio model with a root joint #99
-
Hi @stephane-caron, I want to load the allegro hand as Pinocchio model and this work well if I do not specify a root joint.
then start ipython and run
and you should get the error trace:
I have tried it both with Thanks for your help. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Hi @fabinsch, if you instantiate the robot_w_ff = load_robot_description('allegro_hand_description', root_joint=pin.JointModelFreeFlyer()) Here we follow the API of |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for the prompt answer. You are right; this works! :-) |
Beta Was this translation helpful? Give feedback.
Hi @fabinsch, if you instantiate the
root_joint
it should work:Here we follow the API of
pin.RobotWrapper.BuildFromURDF
where the root joint is an instantiated joint rather than the general class. I've run into this previously as well, allow me to convert this to a discussion so that it may help future travelers 😉