pinocchio::appendModel does not really append #2203
florent-lamiraux
started this conversation in
General
Replies: 1 comment
-
Note that joint ordering must respect compactness. All the children of a joint follows that joint in the list of joints. Between a joint J and its furthest child (in the list of joints), there cannot be a joint that is not a child of joint J. So in the general case, you cannot just append one model after the other. However, it makes more sense to append all the joints of model1 until the last child of the parent joint of |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
When calling function
pinocchio::appendModel
, withmodel1
,model2
andframe
(of model1 to which model2 should be attached), model2 is added to model1 using the following rule:model1
up to the parent joint offrame
,model1
.As a consequence, when
frame
isuniverse
,model2
is placed beforemodel1
in the kinematic chain. This is rather unintuitive. Is there a reason for this ?I would expect
model1
,model2
.which is much simpler and still satisfies that any joint comes after its parent.
Beta Was this translation helpful? Give feedback.
All reactions