<include> tag to nest models not working

asked 2016-10-30 09:23:02 -0500

ai-shwarya gravatar image

updated 2016-10-31 09:49:28 -0500

nkoenig gravatar image

Haven't gotten to adding the Plugin/Xacro for the laser yet, but for some reason, using the <include> and <uri> tags within <model> of model.sdf of a Pioneer robot does not seem to yield the import of the Hokuyo Laser.

http://sdformat.org/spec?ver=1.6&elem... Following the documentation here, what I'm doing, seems fine. Any help?

<include>
  <uri>model://hokuyo</uri>
     <pose>0.2 0 0.9 0 0 0</pose>
</include>
<joint name="hokuyo_joint" type="revolute">
   <child>hokuyo::link</child>
   <parent>chassis</parent>
   <axis>
     <xyz>0 0 1</xyz>
     <limit>
        <upper>0</upper>
        <lower>0</lower>
     </limit>
  </axis>
</joint>
edit retag flag offensive close merge delete

Comments

What version of gazebo are you using? Can you post your entire model SDF file?

nkoenig gravatar imagenkoenig ( 2016-10-31 09:50:18 -0500 )edit