Home | Tutorials | Wiki | Issues
Ask Your Question

Loading 3D models of tree's and plants into gazebo

asked 2018-05-09 09:10:03 -0500

mpc gravatar image

I have been trying for some time to load models of tree's and other plants into gazebo with different levels of succes. What I want is something that not only looks like a tree visually, but also provides a similar LiDAR response to what I would expect from a tree. I am currently running Gazeb 9 on a Ubuntu 18.04 and am using blender 2.79 for my project.

When I use blender to export the 3D model of a tree to dae I get the results like the ones in the examples below: image description image description image description

It seems like the pine needles sometimes is not being rendered and therefor not included in the camera view.

In blender the same exported dae model of the pine tree looks like this: image description image description

It seems like I can see more needles on the version in blender, so I assume some where lost in the gazebo rendering.

I have the following questions:

  1. Is there a guide to blender for exporting models with colors and materials to dae, so gazebo can load them directly. Currently I have to redo the coloring afterwards manually in the dae file, or else they will become completely dark.

  2. Is there some configuration I could set to improve the rendering in Gazebo 9 for smaller object i a 3D model ?

  3. What would be recommended the method to generate a orchard of these tree. Currently I do each tree as a static link in a sdf model, but I am unsure if this is the best approach in terms of rendering in gazebo ? To many plants or tree and the gazebo FPS value goes below 5 or even 1.

image description

I know there is a trade-off between the second and third question. But currently I would like to know what is possible and what kind of options do I have to improve my environment modelling.

edit retag flag offensive close merge delete

1 Answer

Sort by ┬╗ oldest newest most voted

answered 2018-05-11 08:46:49 -0500

Mansan gravatar image

I had the same problem, I had to import trees to Gazebo and they lost almost every leaf. ┬┐Where do you get the models and wich is the original format?

edit flag offensive delete link more


There is a number of tools to create plants. But you can just use blender to create models or search the internet: https://free3d.com/3d-model/realistic-tree-pack-3-trees-95419.htmlhttps://free3d.com/3d-model/high-quality-realistic-tree-set-2-56906.htmlhttps://free3d.com/3d-model/christmas-pine-tree-1-80021.html Currently, I mainly use the premade once to test what works in Gazebo after exporting from blender as dae. It makes it a bit easier to narrow down the number of valid design technics.

mpc gravatar imagempc ( 2018-05-12 10:30:36 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2018-05-09 09:10:03 -0500

Seen: 49 times

Last updated: May 11