pxmlw6n2f/Gazebo_Distributed_TCP/worlds/contact.world

37 lines
885 B
XML

<?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>