Some questions about the getFrameJacobian() function #2183
-
I created a frame "LF_1" based on "joint_22", which has an offset from "joint_22". The code is as follows model=pin.buildModelFromUrdf("/home/liuyi/humanoid_py/model/humanoid.urdf",pin.JointModelFreeFlyer()) And printed the coordinates of a certain joint configuration,the results are as follows,it can be seen that they are different. print("joint_22") output: LF_1 But when I solve the Jacobian matrix for the two coordinates, they are indeed the same,the code is as follows, the result is a matrix with all zeros,I have tried OP_FRAME, JOINT, FIXED_JOINT, and BODY in the FrameType attribute, but the problem still exists. JL_1=pin.getFrameJacobian(model, data, model.getFrameId("LF_1"), pin.ReferenceFrame.WORLD) I think the linear velocity of the two coordinates should be different, that is, their partial Jacobians are different. Is there something wrong with my coordinate settings? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hello @liuxiaoyiyixiaoliu . As a side remark, I cannot reproduce your issue without the robot urdf model. |
Beta Was this translation helpful? Give feedback.
Do you understand better with this proposition of modification in the doc ?