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

Create iCubGazeboV3_visuomanip #169

Closed
traversaro opened this issue Aug 23, 2022 · 11 comments · Fixed by #176
Closed

Create iCubGazeboV3_visuomanip #169

traversaro opened this issue Aug 23, 2022 · 11 comments · Fixed by #176

Comments

@traversaro
Copy link
Member

For simulations related to teleoperation, it would be useful to have an iCubGazeboV3 model with moving eyes, cameras and moving hands. However, in the short term it would be difficult to obtain this information directly from the CAD, so probably we need to create this model by taking the hands and he head from the [iCubGazeboV2_5_visuomanip](https://github.com/robotology/icub-models/tree/master/iCub_manual/conf_manual/iCubGazeboV2_5_visuomanip), and adding them to the existing iCubGazeboV3 model.

Related issues:

cc @S-Dafarra

@mebbaid
Copy link
Contributor

mebbaid commented Aug 23, 2022

On it, will look at the provided link, and maybe ask for help.

@Woolfrey
Copy link

Hi @traversaro, @mebbaid, I tried using this model and there's a bit of a problem with the hands!

image

Gazebo also seems to freeze a lot when I load this model, which may or may not be related to the detached hands:

image

@mebbaid
Copy link
Contributor

mebbaid commented Oct 13, 2022

@Woolfrey : try to pull and compile against this fork https://github.com/mebbaid/icub-models instead of the usual icub-models master and see if this issue is resolved.

Namely using this commit mebbaid@989bcf7

@traversaro
Copy link
Member Author

@mebbaid if that works, can you propagate it to https://github.com/robotology/icub-models/ ? Thanks!

@mebbaid
Copy link
Contributor

mebbaid commented Oct 13, 2022

certo @traversaro . It seems to fix the issue on my side and Ehsan's side. Waiting fro @Woolfrey to confirm that the fix works for him as well before opening a PR.

@Woolfrey
Copy link

@mebbaid , yes that seemed to work:

image

@Woolfrey
Copy link

@mebbaid @traversaro, I got the model to load and it seems to be working with my controller, however it seems the right hand is producing some sort of force field when I push a box:

Magic

@mebbaid
Copy link
Contributor

mebbaid commented Oct 17, 2022

This suggests to me that there is some issue with the collision parameters in the urdf for the r_hand link only. I will check it, and if that is the case I will push the fix to the fork

@traversaro
Copy link
Member Author

Note that in Gazebo you can enable the visualization of collision meshes to debug this sort of behaviour.

@mebbaid
Copy link
Contributor

mebbaid commented Oct 17, 2022

Indeed it was the collision group of the r_hand link, as the following pic shows.

image

I have pushed a commit mebbaid@0f25a16 in the fork with a fix as in the pic below. Let me know @Woolfrey if it works for you and that the intuition was correct.

image

@Woolfrey
Copy link

@mebbaid, it seems to have worked!

image

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 a pull request may close this issue.

3 participants