Robotics StackExchange | Archived questions

How to disable SkyX?

Hi there,

I am running Gazebo on my brand-new Intel Core-i5 system - using the processor graphics (4670, Intel HD 4600). The volumetric SkyX cr*p is killing my system. Everything is working fine when looking down at the robot, but grinds to a halt when the stupid clouds come into view.

I don't need clouds, and I consider them annoying anyway. Our lab has a ceiling, and plain light gray background would be fine for me. Problem is, there is NOT one example on how to DISABLE the SkyX rendering in any world file, any Gazebo doc, any Google search I tried.

Removing the SkyX files crashes the simulator. Putting an empty whatever into my world file STILL loads SkyX.

Can I get rid of the clouds without recompiling everything?

Cheers, Norman

Asked by Norman.Hendrich on 2013-10-12 07:03:46 UTC

Comments

Answers

It looks like the only way to currently do it is to disable it in the source code. You can add these lines to the beginning of Scene::SetSky in gazebo/rendering/Scene.cc to disable it:

this->skyxController = NULL;
this->skyx = NULL;
return;

Also I created an enhancement ticket here: https://bitbucket.org/osrf/gazebo/issue/932/add-configuration-option-to-disable-the

UPDATE: It looks like in the latest branch of the gazebo source, the sky is disabled if your world doesn't have a <sky> tag.

Asked by jbohren on 2013-10-31 11:25:51 UTC

Comments

Working on this now. A fix for 1.9 may be possible.

Asked by nkoenig on 2013-11-01 17:44:20 UTC

Here is a pull-request with the fix.

Asked by nkoenig on 2013-11-01 18:40:49 UTC