Home | Tutorials | Wiki | Issues
Ask Your Question
0

Gazebo 5 doesnot load customized object

asked 2018-05-20 13:31:21 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi

Gazebo 5 screen becomes dark for a while then back to normal, when selecting a customized object ( segment of Pavement) that has been transformed from Sketchup model to .dae via Blender 3D, and no object will be exported to the current environment. I think i have done something wrong with the SDF file of the model. My model directory in the gazebo models' directory has : 1- meshes folder that contains the .dae file. 2- materials folder that have three images in 'textures' folder coming from Blender exportation process of the .dae file. 3-model.config file 4- model .sdf file. here is the SDF file:

 <?xml version="1.0" ?>
<sdf version="1.4">
 <model name="Ground Road">
<static>true</static>
<link name="link">
  <collision name="collision">
    <geometry>
      <mesh>
        <uri>model://test/meshes/Nstreet.dae</uri>
        <scale>1.5 1.5 1.5</scale>
      </mesh>
    </geometry>
  </collision>
  <visual name="visual">
    <geometry>
      <mesh>
        <uri>model://test/meshes/Nstreet.dae</uri>
         <scale>1.5 1.5 1.5</scale>
      </mesh>
    </geometry>
  </visual>
</link>

</model> </sdf>

ps: I tried adding<scale>1.5 1.5 1.5</scale> and nothing changed .

any help?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-05-24 15:17:45 -0600

skej gravatar image

Hi,

It might be possible that you the model path has not been set. Can you please post the output for -

echo $GAZEBO_MODEL_PATH

Also, it might be a good idea to have a look at - http://gazebosim.org/tutorials?tut=co.... If you have not read it before.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-05-20 13:31:21 -0600

Seen: 70 times

Last updated: May 24 '18