pxmlw6n2f/Gazebo_Distributed_MPI/worlds/contact.world

37 lines
885 B
Plaintext
Raw Normal View History

2019-04-18 10:27:54 +08:00
<?xml version="1.0" ?>
<sdf version="1.5">
<world name="default">
<include>
<uri>model://ground_plane</uri>
</include>
<include>
<uri>model://sun</uri>
</include>
<model name="box">
<link name="link">
<pose>0 0 0.5 0 0 0</pose>
<collision name="box_collision">
<geometry>
<box>
<size>1 1 1</size>
</box>
</geometry>
</collision>
<visual name="visual">
<geometry>
<box>
<size>1 1 1</size>
</box>
</geometry>
</visual>
<sensor name="my_contact" type="contact">
<contact>
<collision>box_collision</collision>
</contact>
<plugin name="my_plugin" filename="libContactPlugin.so" />
</sensor>
</link>
</model>
</world>
</sdf>