Sun light in gazebo world

asked 2021-01-04 10:47:50 -0600

Wishram gravatar image

image description

This is the part of my code that I use to add sun to the scene to keep it all lit up. But it doesn't work, it's still all dark every time. Is it possible to enter the sun somehow by typing other commands than <include><uri>model://sun</uri></include> ? I know you can set one of the three types of light already in the gazebo, but I would like to have the sun set when turning on the world. Thanks for the advice and best regards.

edit retag flag offensive close merge delete