-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Control Board wrong joint limits for fingers #348
Comments
seems the right solution to me. |
@traversaro I'm planning to do this very soon. |
cc @ale-git given your recent work on Mk3 hand you may be interested in this issue. |
Can we close this given that the above PR was merged? cc @traversaro |
Ok, thanks! |
The
.ini
configuration files for fingers, e.g. gazebo_icub_left_hand_index.ini contain a group[LIMITS]
that specifies limits for each physical joint. These limits are loaded within the control board plugin and used to, e.g., specify constraints on the generation of trajectories (see here).Since trajectories are generated for each controlled DoF of the finger and not for each physical DoF, e.g. for the index
{l,r}_index_proximal
and{l,r}_index_distal
, but the variablem_jointPosLimits
is not updated to take into account coupling then joint limits used by the trajectory generator are wrong.Could it be an option to add a method like
to the decoupling handlers
ThumbCouplingHandler
,IndexCouplingHandler
,MiddleCouplingHandler
,PinkyCouplingHandler
and call it in the method
GazeboYarpControlBoardDriver::setMinMaxPos
?Or is it better to change the meaning of the section
[LIMITS]
so that it contains the limits of the controlled DoFs instead that of all the physical DoFs?The text was updated successfully, but these errors were encountered: