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

Duplicate material entries in URDF causes issue to joint_state_publisher #3

Open
guihomework opened this issue Jul 27, 2022 · 4 comments
Assignees

Comments

@guihomework
Copy link
Collaborator

When starting a BiManual setup with agni_description (typically sfb setup) multiple material descriptions are added to the full robot_description, probably since this addition

<xacro:include filename="$(find sr_description)/materials.urdf.xacro" />
which causes issues for the joint_state_publisher required in the jsmerger.launch due to duplicate materials (even triple since sfb.urdf.xacro used to load materials once for the entire setup)

/vol/....../agni_deploy/launch/jsmerger.launch

[ERROR] [1658945140.050018284]: material 'Blue' is not unique.

standalone hands never had issues with missing material in the past, even when started in simulation, so I am not sure why this addition was needed now.

@rhaschke
Copy link
Member

Is this just a cosmetic issue, i.e. did everything still work as expected and you just want to get rid of the error messages (which actually should be warnings only)?

@guihomework
Copy link
Collaborator Author

our vdemo component jsmerger fails the "check" and stops, so the error is probably significant, because when the duplicate entries are removed, the vdemo check passes. I did not look further.

@rhaschke rhaschke pinned this issue Jul 31, 2022
@rhaschke
Copy link
Member

For now, I resetted melodic-devel to its old state. Looks like I rebased my noetic-devel changes to melodic-devel to try them there as well. But I didn't finish this work yet...

@rhaschke rhaschke unpinned this issue Jul 31, 2022
@rhaschke
Copy link
Member

There was another duplicate material (dark_grey) in ubi-noetic-devel branch (due to this commit), which I reverted too now.
TODO: Update Shadow sources to latest release.

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