support multiple material for one link#812
support multiple material for one link#812k-okada wants to merge 1 commit intoros-visualization:hydro-develfrom
Conversation
|
what is the status on this PR? Is this already implemented? |
|
It's in the It's probably this way because it requires (or required) a patch in |
|
Thanks for the quick reply @wjwwood , I looked at urdf_parser and it is a bit different now than at the time @k-okada submitted this patch. I think the corresponding code is now here. If I understand the patch that @k-okada submitted correctly it changes the vis.group_name from default to the material name. But if I look at the current code of the urdf_paser it already uses the matrial name for vis.name (group_name does not exist any more). I don't have experience with the rviz or de urdfdom code base, but could it be that the urdf_parser already implements the behavior required for this PR? Or am I missing something? |
|
@mmoerdijk thank you for your research, See #1079 or #1080 for rewrited version of this PR using material name for vis.name. Please check if this works for you. Note that I totally forget what I did a year ago, so the code is not so confident , |
|
@k-okada Thanks! I somehow totally missed this comment, I will test it on Monday. |
|
@mmoerdijk just time on my end. I need to test them out and merge other pr's before doing a release. I'm going to do a round of releases in preparation for ROS Lunar (which should be soonish). |
This is patches for setting multiple materials for one link. I understand this is not clean patch, but anyway send PR and hoping someone will find more better way.
c.f: http://answers.ros.org/question/154816/color-issue-with-urdf-and-multiple-visual-tags/
you need following patch to urdf_parser.