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

[gazebo9] URDF to SDF only loads 4 joints #65

Closed
ahoarau opened this issue Sep 24, 2018 · 3 comments
Closed

[gazebo9] URDF to SDF only loads 4 joints #65

ahoarau opened this issue Sep 24, 2018 · 3 comments

Comments

@ahoarau
Copy link

ahoarau commented Sep 24, 2018

When I try to convert the generated icub.urdf to sdf :

gz sdf -p  icub.urdf

It only converts 4 joints :

gz sdf -p icub.urdf | grep joint
    <collision name='base_link_fixed_joint_lump__root_link_collision'>
    <visual name='base_link_fixed_joint_lump__root_link_visual'>
    <joint name='l_hip_pitch' type='revolute'>
    </joint>
    <joint name='l_hip_roll' type='revolute'>
    </joint>
    <joint name='r_hip_pitch' type='revolute'>
    </joint>
    <joint name='r_hip_roll' type='revolute'>
    </joint>
@ahoarau ahoarau changed the title URDF to SDF only loads 4 joints [gazebo9] URDF to SDF only loads 4 joints Sep 24, 2018
@traversaro
Copy link
Contributor

Which model are you trying to convert?

Issues that could be related:

@ahoarau
Copy link
Author

ahoarau commented Sep 24, 2018

@traversaro
Copy link
Contributor

The reason is actually described in robotology/icub-models#112 (comment) . TL;DR: Due to problems in the original data used to create the URDF for v1 parts of iCub, torso_1, torso_2, l_hip_3, r_hip_3 links mass in the URDF was set to 0, and so SDF stops converting (silently, so this could be in a sense a bug in sdformat) the model as soon as a massless links was reached. As the support/effort is now placed in using the iCub models automatically generated from CAD models, I think we can safely closed this issue.

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

No branches or pull requests

2 participants