Skip to content
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

Increase metacarpus joint limit of MK3 left hand's thumb #211

Merged
merged 1 commit into from
Sep 29, 2021

Conversation

mfussi66
Copy link
Member

This PR aims to increase the angular limit of the metacarpus joint limit, associated to the thumb of the MK3 left hand. The modification is done according to this suggestion: robotology/icub-models#104 (comment) . The main objective of this modification is to allow better contact between thumb and index fingertips.

@mfussi66
Copy link
Member Author

I'm trying to open the hand in Gazebo, but upon selecting it, i get the following error:

terminate called after throwing an instance of 'std::invalid_argument'
  what():  stoi

The steps I took were:

  1. Modify the target files with the desired limit
  2. launch simmechanics_to_urdf SIM_LEFT_HAND.xml --yaml simmechanics2urdf_configfile.yaml --csv-joint simmechanics2urdf_joints_configfile.csv --outputfile model.urdf
  3. Copy the generated model in icub-models by following the build instructions of icub-models-generator
  4. Copied the model.config file associated to model.urdf, since the step above did not do it
  5. rebuilt the robotology-superbuild
  6. Launched gazebo
  7. selected the hand from the inserttab

@mfussi66
Copy link
Member Author

image
Ok, now I can correctly open the hand in Gazebo and as you can see the joint limits are updated (1.396 rad ~= 80 deg).

@mfussi66 mfussi66 marked this pull request as ready for review September 28, 2021 16:22
@pattacini pattacini requested a review from Nicogene September 28, 2021 16:29
@pattacini
Copy link
Member

Well done @mfussi66 👍🏻
cc @gabrielecaddeo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants