Robotics StackExchange | Archived questions

Exporting from Blender (Collada), Texture won't load in Gazebo

Hello!

I am trying to import the model made and textured in Blender into the Gazebo, which works fine, except I'm having troubles exporting the texture somehow...

both blend file (wall.blend) and texture (WallTexture.png) can be found here: https://mega.nz/#F!WtpCjBwZ!lIqWvRrfdTcCDj_FtKiBJg

I'm exporting to Collada and I've tried different export settings - the object is either dark gray, or completely white

I followed this tutorial https://www.youtube.com/watch?v=LcCQKuWPhXk when making textures...

when I export it to collada and specify texture options (when exporting) as 'Materials' and copy, the result is a dark gray wall, using 'UV Textures' instead of 'Materials' makes the wall white

for importing I used this tutorial: http://gazebosim.org/tutorials?tut=import_mesh I have a launch file that loads world specified in https://pastebin.com/31GvWRC4 it loads several walls and pillars, making a rectangle

I've never really worked with Blender nor Gazebo before, so I'm not sure where is the problem

Asked by SEnergy on 2018-03-25 12:40:39 UTC

Comments

Answers

The link to your blend file doesn't work.

Can you post your SDF file for the model?

The following tutorial can also help: http://gazebosim.org/tutorials?tut=guided_i2&cat=

Asked by nkoenig on 2018-03-26 10:43:09 UTC

Comments

Hello,

I've updated the links, looks like the link broke because I was trying to work on this meanwhile, so instead I just linked whole Models folder

I do not have SDF file for the model atm, just a simple launch file that loads and spawns DAE object into an empty world, I added the .world file in the post as well

Asked by SEnergy on 2018-03-26 11:43:41 UTC

Did you find the solution to this problem? I have the same problem now.

Asked by lijecaru on 2018-10-25 16:03:27 UTC

Comments