180 lines
4.6 KiB
Plaintext
180 lines
4.6 KiB
Plaintext
|
<?xml version="1.0" ?>
|
||
|
<sdf version="1.5">
|
||
|
<world name="default">
|
||
|
<gui>
|
||
|
<camera name="user_camera">
|
||
|
<pose>10 11 10 0 0 -2.356</pose>
|
||
|
</camera>
|
||
|
</gui>
|
||
|
|
||
|
<scene>
|
||
|
<ambient> 0.25 0.3 0.5 1</ambient>
|
||
|
<grid>false</grid>
|
||
|
</scene>
|
||
|
|
||
|
<light type="directional" name="sun">
|
||
|
<cast_shadows>true</cast_shadows>
|
||
|
<pose>0 0 100 0 0 0</pose>
|
||
|
<diffuse>0.8 0.8 0.8 1</diffuse>
|
||
|
<specular>0.2 0.2 0.2 1</specular>
|
||
|
<attenuation>
|
||
|
<range>1000</range>
|
||
|
<constant>0.9</constant>
|
||
|
<linear>0.01</linear>
|
||
|
<quadratic>0.001</quadratic>
|
||
|
</attenuation>
|
||
|
<direction>-0.5 0.1 -0.9</direction>
|
||
|
</light>
|
||
|
|
||
|
<model name="ground_plane">
|
||
|
<static>true</static>
|
||
|
<link name="link">
|
||
|
<collision name="collision">
|
||
|
<geometry>
|
||
|
<plane>
|
||
|
<normal>0 0 1</normal>
|
||
|
<size>200 200</size>
|
||
|
</plane>
|
||
|
</geometry>
|
||
|
<surface>
|
||
|
<contact>
|
||
|
<collide_bitmask>0xffff</collide_bitmask>
|
||
|
</contact>
|
||
|
<friction>
|
||
|
<ode>
|
||
|
<mu>100</mu>
|
||
|
<mu2>50</mu2>
|
||
|
</ode>
|
||
|
</friction>
|
||
|
</surface>
|
||
|
</collision>
|
||
|
<visual name="visual">
|
||
|
<cast_shadows>false</cast_shadows>
|
||
|
<geometry>
|
||
|
<plane>
|
||
|
<normal>0 0 1</normal>
|
||
|
<size>200 200</size>
|
||
|
</plane>
|
||
|
</geometry>
|
||
|
<material>
|
||
|
<script>
|
||
|
<uri>file://media/materials/scripts/gazebo.material</uri>
|
||
|
<name>Gazebo/Grey</name>
|
||
|
</script>
|
||
|
</material>
|
||
|
</visual>
|
||
|
</link>
|
||
|
</model>
|
||
|
|
||
|
|
||
|
<include>
|
||
|
<uri>model://submarine_sinking</uri>
|
||
|
<pose>5 0 10 1.57 0 0</pose>
|
||
|
</include>
|
||
|
|
||
|
<include>
|
||
|
<uri>model://submarine</uri>
|
||
|
<pose>0 0 10 1.57 0 0</pose>
|
||
|
</include>
|
||
|
|
||
|
<include>
|
||
|
<uri>model://submarine_buoyant</uri>
|
||
|
<pose>-5 0 10 1.57 0 0</pose>
|
||
|
</include>
|
||
|
|
||
|
<model name="ceiling_plane">
|
||
|
<static>true</static>
|
||
|
<pose>0 0 40 0 0 0</pose>
|
||
|
<link name="link">
|
||
|
<collision name="collision">
|
||
|
<geometry>
|
||
|
<box>
|
||
|
<size>200 200 .1</size>
|
||
|
</box>
|
||
|
</geometry>
|
||
|
</collision>
|
||
|
<visual name="visual">
|
||
|
<cast_shadows>false</cast_shadows>
|
||
|
<geometry>
|
||
|
<box>
|
||
|
<size>200 200 .1</size>
|
||
|
</box>
|
||
|
</geometry>
|
||
|
<material>
|
||
|
<script>
|
||
|
<uri>file://media/materials/scripts/gazebo.material</uri>
|
||
|
<name>Gazebo/BlueTransparent</name>
|
||
|
</script>
|
||
|
</material>
|
||
|
</visual>
|
||
|
|
||
|
<visual name="visual_sideA">
|
||
|
<pose>100.05 0 -20 0 0 0</pose>
|
||
|
<cast_shadows>false</cast_shadows>
|
||
|
<geometry>
|
||
|
<box>
|
||
|
<size>0.1 200 39.9</size>
|
||
|
</box>
|
||
|
</geometry>
|
||
|
<material>
|
||
|
<script>
|
||
|
<uri>file://media/materials/scripts/gazebo.material</uri>
|
||
|
<name>Gazebo/BlueTransparent</name>
|
||
|
</script>
|
||
|
</material>
|
||
|
</visual>
|
||
|
|
||
|
<visual name="visual_sideB">
|
||
|
<pose>-100.05 0 -20 0 0 0</pose>
|
||
|
<cast_shadows>false</cast_shadows>
|
||
|
<geometry>
|
||
|
<box>
|
||
|
<size>0.1 200 39.9</size>
|
||
|
</box>
|
||
|
</geometry>
|
||
|
<material>
|
||
|
<script>
|
||
|
<uri>file://media/materials/scripts/gazebo.material</uri>
|
||
|
<name>Gazebo/BlueTransparent</name>
|
||
|
</script>
|
||
|
</material>
|
||
|
</visual>
|
||
|
|
||
|
<visual name="visual_sideC">
|
||
|
<pose>0 100.05 -20 0 0 0</pose>
|
||
|
<cast_shadows>false</cast_shadows>
|
||
|
<geometry>
|
||
|
<box>
|
||
|
<size>200 0.1 39.9</size>
|
||
|
</box>
|
||
|
</geometry>
|
||
|
<material>
|
||
|
<script>
|
||
|
<uri>file://media/materials/scripts/gazebo.material</uri>
|
||
|
<name>Gazebo/BlueTransparent</name>
|
||
|
</script>
|
||
|
</material>
|
||
|
</visual>
|
||
|
|
||
|
<visual name="visual_sideD">
|
||
|
<pose>0 -100.05 -20 0 0 0</pose>
|
||
|
<cast_shadows>false</cast_shadows>
|
||
|
<geometry>
|
||
|
<box>
|
||
|
<size>200 0.1 39.9</size>
|
||
|
</box>
|
||
|
</geometry>
|
||
|
<material>
|
||
|
<script>
|
||
|
<uri>file://media/materials/scripts/gazebo.material</uri>
|
||
|
<name>Gazebo/BlueTransparent</name>
|
||
|
</script>
|
||
|
</material>
|
||
|
</visual>
|
||
|
|
||
|
</link>
|
||
|
</model>
|
||
|
|
||
|
</world>
|
||
|
</sdf>
|