Is there any way to spawn a real-look tree in gazebo simulation

asked 2017-10-04 09:07:36 -0500

yjy765 gravatar image

Hello guys, I'd like to make a outdoor environments in gazebo simulator

I want a real look-like ones (at least shown in

I found how to import the road through sdf file but failed to find how to import the tree

Is there any simple way to spawn the tree in gazebo?

I heard there may be one way to make a dae file and then insert it in the gazebo, but I didn't understand the detail. (if you know, please tell me in detail)

edit retag flag offensive close merge delete


Maybe @iche033 knows where the trees from this demo ended up?

chapulina gravatar imagechapulina ( 2017-10-04 10:44:12 -0500 )edit

the trees and grass in that video are generated by code in a branch but I never had time to tidy it up and merge those changes back to gazebo. I think the easiest way to have trees is to insert a tree model. This tutorials shows how to import a mesh into gazebo:

iche033 gravatar imageiche033 ( 2017-10-04 12:41:38 -0500 )edit

thanks for your answer first. @iche033 So the easiest way you mentioned is to download or make 3d mesh file by myself and then load the mesh file in gazebo, right?

yjy765 gravatar imageyjy765 ( 2017-10-04 20:03:25 -0500 )edit

yes that's correct

iche033 gravatar imageiche033 ( 2017-10-05 12:05:35 -0500 )edit