Skip to content

Question on RNEA() #2225

Answered by MegMll
xiaosuyang asked this question in Q&A
Apr 24, 2024 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Hello,

In pinocchio, "fixed joint" are not considered as joints, but only as frames. So it's not possible to directly add the external force on this joint, because it does not exist in pinocchio's model.

What you could do, is add this force on the parentJoint of the "fixed joint", in the fext vector.

For Rnea, fext is a vector of external forces expressed in the local frame of the joints.

So if you know, the external force that is applied on the "fixed_joint", you just need to get its expression into the parentJoint.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@xiaosuyang
Comment options

@xiaosuyang
Comment options

@jcarpent
Comment options

Answer selected by xiaosuyang
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants