-
Notifications
You must be signed in to change notification settings - Fork 35
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
[iCubGazeboV3] Change feet collision meshes to simplified geometry #66
Comments
I guess this is what is done on iCub2.5 icub-models/iCub/robots/iCubGazeboV2_5/model.urdf Lines 527 to 532 in 05e4e60
Can you provide a link to your modifications? |
I have it here for the time being. |
Looks like the origin for the collision geometry was modified in icub-models/iCub/robots/iCubGazeboV2_5/model.urdf Lines 527 to 532 in 05e4e60
I hope this was not done by trial-and-error? |
Can you try to put the robot fixed in the air and visualize the collisions? |
This is specified in https://github.com/robotology/icub-model-generator/blob/master/simmechanics/CMakeLists.txt#L97 that was added in robotology/icub-models-generator#85 . |
To simplify the debug, I strong suggest to temporary disabled the visual meshes, so you would see just simplified mesh that you add. For the dimension of the box and the placement, I suggest to use as a reference the location of the |
I was wondering about the choice and source of the values in
which is different from,
but seems to be the same as, |
Why they should be similar? The origin of the box is placed in the center of the box (see http://wiki.ros.org/urdf/XML/link) while the origin of the visual mesh is arbitrary. |
I read this only now. Understood. |
With @FabioBergonti, we modified the visual and collision geometries for all the feet links using data from the CAD,
On loading the model, we see
|
Great @prashanthr05! From the |
It is indeed tilted because of my poor camera skills ;D. I tried loading the |
This seems to be related to the base_link / root_link change . |
Wow, such a memory! I am going to check this. Thanks, @traversaro ! |
I confirm. Changing the fixed joint child from
|
I will open relevant PRs in the |
This has already been done in #59. |
Indeed, also to me the old fixed |
To introduce the changes of assigned collision geometries from here to the URDF model through
|
@pattacini @Nicogene what do you think? |
Tested locally with changes made in prashanthr05/icub-model-generator@d151943 and prashanthr05/icub-model-generator@8d08a83 The diff between the files with the introduced option and without (changes for all the foot_rear/front links),
P.S. I had to test by disabling cc @traversaro |
Yes, that is expected. |
Given the merge of robotology/icub-models-generator#165, shall we close this issue? |
Ok! |
I am trying to change the feet meshes to replace it with simplified geometry.
I got the bounding box for the feet from MeshLab as,
They all have the same dimensions and are in mm (I believe!).
However, in the URDF there seems to be a
scale
option for the mesh that scales the mesh's axis-aligned-bounding-box, according to http://wiki.ros.org/urdf/XML/link. There's no further explanation.I believe the scale is simply a unit conversion from millimeters to meters.
So I made the changes only to the
collision
part of the feet asBut looks like, there's something I am missing here, which can be seen as soon as we load the model,
Anyone's got advice/prior experience on this?
cc @nunoguedelha @traversaro @S-Dafarra @GiulioRomualdi
The text was updated successfully, but these errors were encountered: