Question on RNEA() #2225
-
Hello. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
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. |
Beta Was this translation helpful? Give feedback.
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.