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

Links with Multiple Visual Elements with Different Colors Don't Render Correctly #1208

Closed
TimCraig opened this issue Mar 13, 2018 · 4 comments
Labels

Comments

@TimCraig
Copy link

Using RViz 1.12.15, if a link has multiple visual elements, the first visual element renders with the specified material color. The remaining visual elements render as black. The model I used was processed with Xacro but I examined the generated URDF and the materials were specified correctly for the link.

@dhood
Copy link
Contributor

dhood commented Apr 7, 2018

@TimCraig could you provide a reproducible example? That will help this be investigated, thanks!

@dhood dhood added the bug label Apr 7, 2018
@TimCraig
Copy link
Author

TimCraig commented Apr 10, 2018

@dhood Here's a simple file with two links and one joint. The base_link has 3 visuals each consisting of a cylinder 1 meter tall and half a meter in diameter spaced along the x-axis. They should be red, green, and blue. The green one, in the middle which is listed first, displays properly while the other two show up in RViz as black. I've included a screenshot. Running ROS Kinetic on Ubuntu Mate 16.04 in a VirtualBox on Windows 10.

color_problem.zip

@dhood
Copy link
Contributor

dhood commented Apr 17, 2018

thanks for the example, we will test it out when we get a chance

@rhaschke
Copy link
Contributor

rhaschke commented Mar 8, 2019

This was fixed in #1079 and released into 1.12.5

@rhaschke rhaschke closed this as completed Mar 8, 2019
@ghost ghost removed the backlog label Mar 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants