Skip to content

Error loading pinocchio model with a root joint #99

Answered by stephane-caron
fabinsch asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @fabinsch, if you instantiate the root_joint it should work:

robot_w_ff = load_robot_description('allegro_hand_description', root_joint=pin.JointModelFreeFlyer())

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 😉

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by stephane-caron
Comment options

You must be logged in to vote
0 replies
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
Converted from issue

This discussion was converted from issue #98 on July 25, 2024 15:59.