Gazebo finding only some models

asked 2017-11-22 16:31:07 -0500

bxl gravatar image

I have a model folder (~/rodain/models) where i store my gazebo models. Running gazebo four out five of these models are seen on insert tab.

Path is correctly set::


I also checked whether there is a .config and .sdf and if they are in the correct place. These are my my config and sdf files and i'm using gazebo 7

 <?xml version="1.0" ?>
<sdf version="1.6">model.sdf</sdf>
<description>Version of DC_Shell made on blender</description>

 <?xml version='1.0'?>
 <sdf version='1.6'>
  <model name='Untitled'>
    <link name='link_0'>
      <pose frame=''>2e-06 0 0 0 -0 0</pose>
    <visual name='visual'>
       <pose frame=''>0 0 0 0 -0 0</pose>
          <size>1 1 1</size>
       <ambient>0.3 0.3 0.3 1</ambient>
      <diffuse>0.7 0.7 0.7 1</diffuse>
      <specular>0.01 0.01 0.01 1</specular>
      <emissive>0 0 0 1</emissive>
  <collision name='collision'>
    <pose frame=''>0 0 0 0 -0 0</pose>
        <size>1 1 1</size>

</model> </sdf>

edit retag flag offensive close merge delete


Do you see any messages when running in verbose mode?

chapulina gravatar imagechapulina ( 2017-11-22 16:49:40 -0500 )edit

No. Any messages are generated

bxl gravatar imagebxl ( 2017-11-22 17:36:30 -0500 )edit

Could you update the question with the directory structure of `/home/bruno/rodain/models`? You could check it like this: `sudo apt install tree; tree -L 2 /home/bruno/rodain/models`

chapulina gravatar imagechapulina ( 2017-11-22 18:43:50 -0500 )edit

It was something on the gazebo auto-generated files. I made a new one and gazebo was able to find the path.

bxl gravatar imagebxl ( 2017-12-05 14:36:57 -0500 )edit