Replies: 1 comment
-
Hello @MMarcus95, The following line look wrong to me v_ee = bMo.rotation()*(J.block<3,1>(0,0)*qd); You should replace it by v_ee = bMo.rotation()*(J.topRows<3>()*qd); |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I'm playing with Pinocchio (in C++) to understand a bit the library and I'm trying to compute the linear velocity of the end-effector of a robot, expressed in base frame. I have a frame attached to my end-effector.
I tried three methods and before each of them I call
forwardKinematics(model,data,q,qd)
andupdateFramePlacements(model,data)
:- first method: use
getFrameVelocity
--> got expected results- second method: use
computeJointJacobian
--> got expected results, same as first methodcomputeFrameJacobian
--> wrong resultsCould someone explain me why the third method is not working? I expected to have the same results of the first and second methods.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions