Gazebo | Ignition | Community
Ask Your Question

Sun light in gazebo world

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

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

1 Answer

Sort by ยป oldest newest most voted

answered 2021-04-26 05:15:39 -0500

Veerachart gravatar image

Does your PC have a GPU? Not integrated graphics card. Most of the Nvidia cards (if not all) should work. I have no experience with AMD cards though.

If you already have GPU, make sure that the driver is installed properly. Nvidia driver needs to be installed, not the proprietary driver.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2021-01-04 10:47:50 -0500

Seen: 1,310 times

Last updated: Apr 26 '21