Gazebo | Ignition | Community
Ask Your Question
0

Gazebo ground and models dark

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

Heenne gravatar image

Hello,

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

Comments

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.

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

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Stats

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

Seen: 1,456 times

Last updated: Feb 08 '22