Robotics StackExchange | Archived questions

Gazebo load result for dae file is different with google sketchup

Hi

I'm trying to load dae file in gazebo.

Dae file is from Google 3D warehouse : https://3dwarehouse.sketchup.com/model/u26f90107-108a-4a8b-a24d-f2bba40766e8/2D-Pine-Tree

When I import the dae file in google sketchup, tree is shown as follow: image description

However when I load the file, tree is shown as follow: image description

i.e only one plane is shown, though two crossing plane should be displayed

How can I address this problem?

Asked by yjy765 on 2017-10-17 14:17:28 UTC

Comments

Answers

Interesting, probably the quickest hacky way to solve it is to add 2 trees on top of each other, one of them turned 90 degrees.

You might also want to take a look at the pine tree recently added to Gazebo models:

https://bitbucket.org/osrf/gazebo_models/pull-requests/282/pine-tree/diff

image description

Asked by chapulina on 2017-10-17 14:34:52 UTC

Comments

Thanks first. Yeah, I have thought the option you told me. And it's nice to meet tree model in gazebo. But I need more diverse tree models so I should make more.

I think they(osrf) made the dae file from Blender(.dae file said) and then import it. Do you know how to make dae file from Blender to import it from gazebo? or any related ones?

Asked by yjy765 on 2017-10-17 19:16:38 UTC

This tutorial should help you: http://gazebosim.org/tutorials?tut=import_mesh

Asked by chapulina on 2017-10-17 19:42:00 UTC

And yes, the tree model was exported with Blender. There is also an oak_tree model on the database.

Asked by chapulina on 2017-10-17 19:42:53 UTC