Gazebo | Ignition | Community
Ask Your Question

SkyX integration and advanced features?

asked 2015-03-19 14:58:48 -0500

hal9000 gravatar image

Hi, I'm looking to get a more realistic sky in my simulation, including a sun or moon. It seems that the sdf <sky> </sky> tags trigger use of SkyX in Gazebo. If I wanted to use more of SkyX than what's in the sdf spec, would I need to write a Gazebo plugin, and where do I look for the hooks into the sky rendering within Gazebo?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-03-19 18:54:22 -0500

nkoenig gravatar image

The skyx code would be difficult to manipulate via a plugin. You'll have the most luck directly editing Gazebo. Start by forking Gazeob, and looking in gazebo/rendering/

If you make improvements, please submit a pull-request. We'd love some help with skyx.

edit flag offensive delete link more


Ok, Thanks!

hal9000 gravatar imagehal9000 ( 2015-03-30 13:02:14 -0500 )edit

I see the code now, and I finally realized that the sun is always "on" while it's daytime. I never noticed it because it was always so high in the sky! I'd like to connect the skyX sun location to a light source (a modified sun model?) that tracks the sun direction (via getSunDirection()). Perhaps that could be done with a plugin?

hal9000 gravatar imagehal9000 ( 2015-03-30 13:06:11 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2015-03-19 14:58:48 -0500

Seen: 153 times

Last updated: Mar 19 '15