-
Notifications
You must be signed in to change notification settings - Fork 465
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
RobotModel STL meshes displayed black with no lighting #1298
Comments
I understand a little bit more about how this happens. <material name="grey">
<color rgba="0.3 0.3 0.3 1"/>
</material> Values smaller than 1.0 are just interpreted as zero! <material name="grey">
<color rgba="0 0 0 1"/>
</material> So the only thing that is displayed correctly is combination of the primary RGB colors, any value with a value >=0.0 && <1.0 will be interpreted as zero. Very probably related issue: #1299 |
Could this be ros/urdfdom_headers#45 somehow? |
Yes it is! Work-arround: #1249 (comment) |
I know :) |
Just summarizing for other people that might find this issue 😉 Thanks for helping me |
Sorry to disappoint you guys, but looking here: |
@VictorLamoine when will this fix be available in the apt tree? |
@simonschmeisser: then we should report this asap to @j-rivero and the others. |
see ros/urdfdom_headers#46 for the new and open issue |
Small status update: ros/urdfdom_headers#46 has been fixed by ros/urdfdom_headers#47 and a test case using Dutch locale has been added in ros/urdfdom#115 Now we just need this updated in the ubuntu packages |
Has it been updated in the ubuntu packages yet? Because I am still experiencing the same color issues with my robot as stated here. |
If have filed a bug report asking for an update in Ubuntu Bionic but so far no reaction: https://bugs.launchpad.net/ubuntu/+source/urdfdom-headers/+bug/1817595 Please click: This bug affects me Updated packages have been imported in Debian testing and made it into Ubuntu 19.04/Disco Dingo which is however not an LTS release! (You need version 1.0.3 or newer) |
The meshes appear black and with no lighting in RViz:
Test package
https://gitlab.com/InstitutMaupertuis/test_robot
I discovered this when using the Fanuc packages (ros-industrial/fanuc#246), you can also use them for testing.
General
RViz
ii ros-melodic-rviz 1.13.1-0bionic.20180907.011020 amd64 3D visualization tool for ROS.
Ogre
Graphic drivers
The text was updated successfully, but these errors were encountered: