Skip to content
Discussion options

You must be logged in to vote

To get the joint limits you have to open the IControlLimits interface using the view method.

yarp::dev::IControlLimits *iLim;
device.view(iLim);     // device is your remoteControlBoard

and then call the getLimits method:

iLim->getLimits(int j, double *min, double *max);

This will return the min and max bounds for the given joint j.

Replies: 2 comments

Comment options

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

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
3 participants