Skip to content
Discussion options

You must be logged in to vote

Hi @LakshithaPW

To get the Jacobian of the arm (or any other limb) of the iCub (no matter if we consider the simulated or the real robot), you might want to use iKin library, whose tutorials are available from our manual.

Essentially, you ought to use a snippet looking pretty much the following:

#include <iCub/iKin/iKinFwd.h>

iCub::iKin::iCubArm arm("left");   // declare the arm object
arm.setAllConstraints(false);   // we don't need to update the limits from the robot to compute the Jacobian
arm.releaseLink(0);   // release torso pitch joint
arm.releaseLink(1);   // release torso roll joint
arm.releaseLink(2);   // release torso yaw joint

// retrieve here joints from the torso and the …

Replies: 3 comments

Comment options

pattacini
Feb 16, 2017
Maintainer Author

You must be logged in to vote
0 replies
Answer selected by pattacini
Comment options

You must be logged in to vote
0 replies
Comment options

pattacini
Mar 30, 2017
Maintainer Author

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants