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 remoteControlBoardand 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
viewmethod.yarp::dev::IControlLimits *iLim; device.view(iLim); // device is your remoteControlBoardand then call the
getLimitsmethod:This will return the
minandmaxbounds for the given jointj.