Gazebo ground and models dark

asked 2020-05-11 07:10:34 -0500

Heenne gravatar image


currently I am trying to get a few "renderings"/screenshots in Gazebo. Problem is, that everything is completely dark. See screenshot:

image description

I am using Gazebo 9.0 on ROS Melodic. Also I read this has to do with different graphics cards. I think I got a RX580 in my PC. The dark back ground also appears on my Surface Pro 6 i5.

I can get light by placing some of the three in the toolbar on top, but when I can get enough light, the model of the robot is also very bright and nearly no contrast can be seen.

Anybody knows a solution to this problem? Also, what are some good ways of getting a good (rendering like) picture from Gazebo?

Thanks in advance and have a nice day, Heenne

edit retag flag offensive close merge delete


Maybe posting the SDF/URDF of your robot would help? Could be something to do with the material settings.

rrklutz gravatar imagerrklutz ( 2020-05-13 00:11:44 -0500 )edit

Maybe setting the shadows tag in scene to zero? This makes your world brighter.

  <ambient>0.4 0.4 0.4 1</ambient>
  <background>0.7 0.7 0.7 1</background>
student_Ros_melodic_mobile_manipulator gravatar imagestudent_Ros_melodic_mobile_manipulator ( 2020-05-15 01:47:58 -0500 )edit