Getting joint limits #9
-
So after my original post on robotcub "Hi hackers, and reply from @pattacini I am opening this issue :) |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
To get the joint limits you have to open the IControlLimits interface using the yarp::dev::IControlLimits *iLim;
device.view(iLim); // device is your remoteControlBoard and then call the iLim->getLimits(int j, double *min, double *max); This will return the |
Beta Was this translation helpful? Give feedback.
-
To open a motor device to then use the |
Beta Was this translation helpful? Give feedback.
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:This will return the
min
andmax
bounds for the given jointj
.