Gazebo | Ignition | Community
Ask Your Question

How do you render a realistic outdoor world with Gazebo?

asked 2014-11-18 09:28:38 -0500

Cerin gravatar image

How would you simulate an outdoor environment with the Gazebo simulator? e.g. I would need to provide a texture map of the ground, sky and background, so that the robot sees more than just a flat color shade. The tutorials explain how to populate a simple world with objects, but they all seem to assume I'm simulating an indoor environment with no background or special lighting conditions. I can't find how to texture the ground/sky/background to mimic an outdoor environment.

I'm thinking about participating in an autonomous vehicle competition, and I'm trying to find a way to simulate the course so I can easily test how my "virtual" robot reacts to camera input that roughly mimics input from the real course.

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2014-11-18 10:58:29 -0500

nkoenig gravatar image

You can use a terrain with custom textures.

edit flag offensive delete link more


Hi, this solution only works with Gazebo 3? Is there any solution or trick to add terrain map or to get similar effect in Gazebo 2.2?

green96 gravatar imagegreen96 ( 2014-11-20 18:08:22 -0500 )edit

You can use a 3D collada mesh. Or apply a texture to the ground plane (if a flat surface is acceptable).

nkoenig gravatar imagenkoenig ( 2014-11-20 18:11:31 -0500 )edit

answered 2014-11-18 09:48:01 -0500

AndreiHaidu gravatar image


Check out this answer.

Take a look at the <scene> tag , you can add numerous stuff (sunrise, fog, clouds etc).

Cheers, Andrei

edit flag offensive delete link more


Thanks, but that doesn't completely answer my question. I need to apply specific textures, possibly sampled from satellite images or video. I don't see anything in the <scene> tag docs for specifying texture, only lighting and some generic atmospheric settings.

Cerin gravatar imageCerin ( 2014-11-18 10:47:09 -0500 )edit

answered 2018-10-05 04:14:26 -0500

kumpakri gravatar image

Is this the answer you are looking for?

edit flag offensive delete link more

Question Tools



Asked: 2014-11-18 09:28:38 -0500

Seen: 7,933 times

Last updated: Oct 05 '18