ppovb5fc7/gazebo/test/worlds/inertial.world

41 lines
1.2 KiB
Plaintext
Raw Permalink Normal View History

2019-03-25 11:01:43 +08:00
<?xml version="1.0"?>
<gazebo version="1.0">
<world name="world_1">
<scene>
<ambient rgba="0.5 0.5 0.5 1.0"/>
<background rgba="0.5 0.5 0.5 1.0">
<sky material="Gazebo/CloudySky"/>
</background>
<shadows enabled="true"/>
<fog rgba="0.0 0.0 0.5 0.5" type="linear" start="2.0" end="10.0" density="0.5"/>
</scene>
<physics type="ode">
<ode>
<max_contacts>250</max_contacts>
<solver type="quick" dt="0.000001" iters="20" sor="1.3"/>
<constraints cfm="0" erp="0.2" contact_max_correcting_vel="100.0" contact_surface_layer="0.0"/>
<gravity xyz="0.0 0.0 -9.81"/>
</ode>
</physics>
<!-- inertial only model -->
<model name="model_1" static="false">
<origin pose="0.0 0.0 1.0 0.0 0.0 0.0"/>
<link name="link_1" self_collide="true" gravity="false" kinematic="false">
<origin pose="0.0 0.0 0.0 0.0 0.0 0.0"/>
<inertial mass="10.0">
<origin pose="0.0 0.0 0.0 0.0 0.0 0.0"/>
<damping linear="0.0" angular="0.0" />
<inertia ixx="1.0" ixy="0.0" ixz="0.0"
iyy="1.0" iyz="0.0"
izz="1.0"/>
</inertial>
</link>
</model>
</world>
</gazebo>