Shading and rendering in the URDF tutorial

asked 2019-01-29 11:01:25 -0600

strombom gravatar image

updated 2019-01-29 15:57:33 -0600

I have followed the URDF tutorial and made my own robot:

I have not changed the file with it's sun lighting and I use gazebo materials, Gazebo/Orange.

The problem is that the shading is very strange, for example the wheels change between orange and black when they rotate, it's like the light source is rotating with the wheels.

For the meshes I have tried STL and Collada exported from onshape.

This is the robot rendered in gazebo: image description

This is the robot rendered in rviz: image description

I have tried many different ways of <material> tags inside the <visual> tags:




Why are the visuals in Gazebo rendered so porly? I'm not sure where to start looking for a solution.


Edit: I changed all meshes to STL and now it looks better. I will leave it at that but it would be interesting to know if it's possible to override bad material properties in Collada files.

image description

edit retag flag offensive close merge delete