#ubuntu16.04 ros-kinetic gazebo7 环境以及验证
编写model.sdf时候,针对同一个sdf里面同一个模型多次引用时的代码写法:
<include>
<uri>model://hokuyo1</uri>
<pose>0.42 0.201 0.27 -3.14 0 0</pose>
<name>1</name>//表示该模型的名字是1
</include>
<joint name="hokuyo1_joint" type="fixed">
<child>1::link</child>//表示子模型是1
<parent>chassis</parent>
</joint>
<include>
<uri>model://hokuyo1</uri>
<pose>-0.42 -0.201- 0.27 3.14 0 0</pose>
<name>2</name>//表示该模型的名字是2
</include>
<joint name="hokuyo2_joint" type="fixed">
<child>2::link</child>//表示子模型是2
<parent>chassis</parent>
</joint>