Gazebo | Ignition | Community
Ask Your Question

Gazebo ground and models dark

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

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 -0600 )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 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2022-02-08 14:53:57 -0600

leuko gravatar image

I have an onboard Intel GPU and have the same problem. Setting Scene -> shadows to False is a workaround.

On another machine with software rendering (X11 forwarding) this problem does not happen.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2020-05-11 07:10:34 -0600

Seen: 1,182 times

Last updated: Feb 08 '22