XTDrone/sitl_config/worlds/grasping.world

145 lines
3.8 KiB
XML

<?xml version='1.0' ?>
<sdf version='1.4'>
<world name='empty'>
<!-- A global light source -->
<include>
<uri>model://sun</uri>
</include>
<!-- A ground plane -->
<include>
<uri>model://ground_plane</uri>
</include>
<!-- Physics settings for simulation -->
<physics type='ode'>
<max_step_size>0.001</max_step_size>
<real_time_factor>1</real_time_factor>
<real_time_update_rate>1000</real_time_update_rate>
<gravity>0 0 -9.81</gravity>
</physics>
<model name='coke_can_box_model'>
<pose frame=''>0.30 0.0 0.2165 0 0 0</pose>
<link name='coke_can'>
<inertial>
<mass>0.0073</mass>
<inertia>
<ixx>7.604166666666669e-07</ixx>
<ixy>0</ixy>
<ixz>0</ixz>
<iyy>7.604166666666669e-07</iyy>
<iyz>0</iyz>
<izz>7.604166666666669e-07</izz>
</inertia>
</inertial>
<collision name="collision">
<geometry>
<box>
<size>0.025 0.025 0.025</size>
</box>
</geometry>
<surface>
<contact>
<!-- Red Pine coefficients for longitudinal axis of the wood
according to:
http://www.fpl.fs.fed.us/documnts/fplgtr/fplgtr113/ch04.pdf -->
<poissons_ratio>0.347</poissons_ratio>
<elastic_modulus>8.8e+09</elastic_modulus>
<ode>
<kp>100000</kp>
<kd>100</kd>
<max_vel>100.0</max_vel>
<min_depth>0.001</min_depth>
</ode>
</contact>
<friction>
<torsional>
<coefficient>1.0</coefficient>
<use_patch_radius>0</use_patch_radius>
<surface_radius>0.01</surface_radius>
</torsional>
</friction>
</surface>
</collision>
<visual name="visual">
<geometry>
<box>
<size>0.025 0.025 0.025</size>
</box>
</geometry>
<material>
<script>
<name>Gazebo/Green</name>
<uri>file://media/materials/scripts/gazebo.material</uri>
</script>
</material>
</visual>
<self_collide>0</self_collide>
<kinematic>0</kinematic>
</link>
</model>
<model name='table_box_model'>
<static>true</static>
<pose frame=''>0.40 0.0 0.1 0 -0 1.5707963265</pose>
<link name='table_box_link'>
<inertial>
<mass>1</mass>
<inertia>
<ixx>0.166667</ixx>
<ixy>0</ixy>
<ixz>0</ixz>
<iyy>0.166667</iyy>
<iyz>0</iyz>
<izz>0.166667</izz>
</inertia>
</inertial>
<collision name='collision'>
<geometry>
<box>
<size>0.30 0.30 0.2</size>
</box>
</geometry>
<max_contacts>10</max_contacts>
<surface>
<contact>
<ode/>
</contact>
<bounce/>
<friction>
<ode>
<mu>0.6</mu>
<mu2>0.6</mu2>
</ode>
<torsional>
<ode/>
</torsional>
</friction>
</surface>
</collision>
<visual name='visual'>
<geometry>
<box>
<size>0.30 0.30 0.2</size>
</box>
</geometry>
<material>
<script>
<name>Gazebo/Black</name>
<uri>file://media/materials/scripts/gazebo.material</uri>
</script>
</material>
</visual>
<self_collide>0</self_collide>
<kinematic>0</kinematic>
</link>
</model>
</world>
</sdf>