mirror of
https://github.com/6-robot/wpr_simulation.git
synced 2025-09-15 12:59:01 +08:00
534 lines
15 KiB
Plaintext
534 lines
15 KiB
Plaintext
<sdf version='1.7'>
|
|
<world name='default'>
|
|
<light name='sun' type='directional'>
|
|
<cast_shadows>1</cast_shadows>
|
|
<pose>0 0 10 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>
|
|
<spot>
|
|
<inner_angle>0</inner_angle>
|
|
<outer_angle>0</outer_angle>
|
|
<falloff>0</falloff>
|
|
</spot>
|
|
</light>
|
|
<model name='ground_plane'>
|
|
<static>1</static>
|
|
<link name='link'>
|
|
<collision name='collision'>
|
|
<geometry>
|
|
<plane>
|
|
<normal>0 0 1</normal>
|
|
<size>100 100</size>
|
|
</plane>
|
|
</geometry>
|
|
<surface>
|
|
<contact>
|
|
<collide_bitmask>65535</collide_bitmask>
|
|
<ode/>
|
|
</contact>
|
|
<friction>
|
|
<ode>
|
|
<mu>100</mu>
|
|
<mu2>50</mu2>
|
|
</ode>
|
|
<torsional>
|
|
<ode/>
|
|
</torsional>
|
|
</friction>
|
|
<bounce/>
|
|
</surface>
|
|
<max_contacts>10</max_contacts>
|
|
</collision>
|
|
<visual name='visual'>
|
|
<cast_shadows>0</cast_shadows>
|
|
<geometry>
|
|
<plane>
|
|
<normal>0 0 1</normal>
|
|
<size>100 100</size>
|
|
</plane>
|
|
</geometry>
|
|
<material>
|
|
<script>
|
|
<uri>file://media/materials/scripts/gazebo.material</uri>
|
|
<name>Gazebo/Grey</name>
|
|
</script>
|
|
</material>
|
|
</visual>
|
|
<self_collide>0</self_collide>
|
|
<enable_wind>0</enable_wind>
|
|
<kinematic>0</kinematic>
|
|
</link>
|
|
</model>
|
|
<gravity>0 0 -9.8</gravity>
|
|
<magnetic_field>6e-06 2.3e-05 -4.2e-05</magnetic_field>
|
|
<atmosphere type='adiabatic'/>
|
|
<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>
|
|
</physics>
|
|
<scene>
|
|
<ambient>0.4 0.4 0.4 1</ambient>
|
|
<background>0.7 0.7 0.7 1</background>
|
|
<shadows>1</shadows>
|
|
</scene>
|
|
<wind/>
|
|
<spherical_coordinates>
|
|
<surface_model>EARTH_WGS84</surface_model>
|
|
<latitude_deg>0</latitude_deg>
|
|
<longitude_deg>0</longitude_deg>
|
|
<elevation>0</elevation>
|
|
<heading_deg>0</heading_deg>
|
|
</spherical_coordinates>
|
|
<model name='slam_simple'>
|
|
<pose>2.805 2.09 0 0 -0 0</pose>
|
|
<link name='Wall_10'>
|
|
<collision name='Wall_10_Collision'>
|
|
<geometry>
|
|
<box>
|
|
<size>3.5 0.15 0.5</size>
|
|
</box>
|
|
</geometry>
|
|
<pose>0 0 0.25 0 -0 0</pose>
|
|
<max_contacts>10</max_contacts>
|
|
<surface>
|
|
<contact>
|
|
<ode/>
|
|
</contact>
|
|
<bounce/>
|
|
<friction>
|
|
<torsional>
|
|
<ode/>
|
|
</torsional>
|
|
<ode/>
|
|
</friction>
|
|
</surface>
|
|
</collision>
|
|
<visual name='Wall_10_Visual'>
|
|
<pose>0 0 0.25 0 -0 0</pose>
|
|
<geometry>
|
|
<box>
|
|
<size>3.5 0.15 0.5</size>
|
|
</box>
|
|
</geometry>
|
|
<material>
|
|
<script>
|
|
<uri>file://media/materials/scripts/gazebo.material</uri>
|
|
<name>Gazebo/Bricks</name>
|
|
</script>
|
|
<ambient>1 1 1 1</ambient>
|
|
</material>
|
|
<meta>
|
|
<layer>0</layer>
|
|
</meta>
|
|
</visual>
|
|
<pose>4.725 2.675 0 0 -0 -1.5708</pose>
|
|
<self_collide>0</self_collide>
|
|
<enable_wind>0</enable_wind>
|
|
<kinematic>0</kinematic>
|
|
</link>
|
|
<link name='Wall_11'>
|
|
<collision name='Wall_11_Collision'>
|
|
<geometry>
|
|
<box>
|
|
<size>4 0.15 0.5</size>
|
|
</box>
|
|
</geometry>
|
|
<pose>0 0 0.25 0 -0 0</pose>
|
|
<max_contacts>10</max_contacts>
|
|
<surface>
|
|
<contact>
|
|
<ode/>
|
|
</contact>
|
|
<bounce/>
|
|
<friction>
|
|
<torsional>
|
|
<ode/>
|
|
</torsional>
|
|
<ode/>
|
|
</friction>
|
|
</surface>
|
|
</collision>
|
|
<visual name='Wall_11_Visual'>
|
|
<pose>0 0 0.25 0 -0 0</pose>
|
|
<geometry>
|
|
<box>
|
|
<size>4 0.15 0.5</size>
|
|
</box>
|
|
</geometry>
|
|
<material>
|
|
<script>
|
|
<uri>file://media/materials/scripts/gazebo.material</uri>
|
|
<name>Gazebo/Bricks</name>
|
|
</script>
|
|
<ambient>1 1 1 1</ambient>
|
|
</material>
|
|
<meta>
|
|
<layer>0</layer>
|
|
</meta>
|
|
</visual>
|
|
<pose>2.8 1 0 0 -0 3.14159</pose>
|
|
<self_collide>0</self_collide>
|
|
<enable_wind>0</enable_wind>
|
|
<kinematic>0</kinematic>
|
|
</link>
|
|
<link name='Wall_3'>
|
|
<collision name='Wall_3_Collision'>
|
|
<geometry>
|
|
<box>
|
|
<size>3.75 0.15 0.5</size>
|
|
</box>
|
|
</geometry>
|
|
<pose>0 0 0.25 0 -0 0</pose>
|
|
<max_contacts>10</max_contacts>
|
|
<surface>
|
|
<contact>
|
|
<ode/>
|
|
</contact>
|
|
<bounce/>
|
|
<friction>
|
|
<torsional>
|
|
<ode/>
|
|
</torsional>
|
|
<ode/>
|
|
</friction>
|
|
</surface>
|
|
</collision>
|
|
<visual name='Wall_3_Visual'>
|
|
<pose>0 0 0.25 0 -0 0</pose>
|
|
<geometry>
|
|
<box>
|
|
<size>3.75 0.15 0.5</size>
|
|
</box>
|
|
</geometry>
|
|
<material>
|
|
<script>
|
|
<uri>file://media/materials/scripts/gazebo.material</uri>
|
|
<name>Gazebo/Bricks</name>
|
|
</script>
|
|
<ambient>1 1 1 1</ambient>
|
|
</material>
|
|
<meta>
|
|
<layer>0</layer>
|
|
</meta>
|
|
</visual>
|
|
<pose>-4.725 -2.55 0 0 -0 -1.5708</pose>
|
|
<self_collide>0</self_collide>
|
|
<enable_wind>0</enable_wind>
|
|
<kinematic>0</kinematic>
|
|
</link>
|
|
<link name='Wall_4'>
|
|
<collision name='Wall_4_Collision'>
|
|
<geometry>
|
|
<box>
|
|
<size>5.75 0.15 0.5</size>
|
|
</box>
|
|
</geometry>
|
|
<pose>0 0 0.25 0 -0 0</pose>
|
|
<max_contacts>10</max_contacts>
|
|
<surface>
|
|
<contact>
|
|
<ode/>
|
|
</contact>
|
|
<bounce/>
|
|
<friction>
|
|
<torsional>
|
|
<ode/>
|
|
</torsional>
|
|
<ode/>
|
|
</friction>
|
|
</surface>
|
|
</collision>
|
|
<visual name='Wall_4_Visual'>
|
|
<pose>0 0 0.25 0 -0 0</pose>
|
|
<geometry>
|
|
<box>
|
|
<size>5.75 0.15 0.5</size>
|
|
</box>
|
|
</geometry>
|
|
<material>
|
|
<script>
|
|
<uri>file://media/materials/scripts/gazebo.material</uri>
|
|
<name>Gazebo/Bricks</name>
|
|
</script>
|
|
<ambient>1 1 1 1</ambient>
|
|
</material>
|
|
<meta>
|
|
<layer>0</layer>
|
|
</meta>
|
|
</visual>
|
|
<pose>-1.925 -4.35 0 0 -0 0</pose>
|
|
<self_collide>0</self_collide>
|
|
<enable_wind>0</enable_wind>
|
|
<kinematic>0</kinematic>
|
|
</link>
|
|
<link name='Wall_5'>
|
|
<collision name='Wall_5_Collision'>
|
|
<geometry>
|
|
<box>
|
|
<size>5.5 0.15 0.5</size>
|
|
</box>
|
|
</geometry>
|
|
<pose>0 0 0.25 0 -0 0</pose>
|
|
<max_contacts>10</max_contacts>
|
|
<surface>
|
|
<contact>
|
|
<ode/>
|
|
</contact>
|
|
<bounce/>
|
|
<friction>
|
|
<torsional>
|
|
<ode/>
|
|
</torsional>
|
|
<ode/>
|
|
</friction>
|
|
</surface>
|
|
</collision>
|
|
<visual name='Wall_5_Visual'>
|
|
<pose>0 0 0.25 0 -0 0</pose>
|
|
<geometry>
|
|
<box>
|
|
<size>5.5 0.15 0.5</size>
|
|
</box>
|
|
</geometry>
|
|
<material>
|
|
<script>
|
|
<uri>file://media/materials/scripts/gazebo.material</uri>
|
|
<name>Gazebo/Bricks</name>
|
|
</script>
|
|
<ambient>1 1 1 1</ambient>
|
|
</material>
|
|
<meta>
|
|
<layer>0</layer>
|
|
</meta>
|
|
</visual>
|
|
<pose>0.875 -1.675 0 0 -0 1.5708</pose>
|
|
<self_collide>0</self_collide>
|
|
<enable_wind>0</enable_wind>
|
|
<kinematic>0</kinematic>
|
|
</link>
|
|
<link name='Wall_7'>
|
|
<collision name='Wall_7_Collision'>
|
|
<geometry>
|
|
<box>
|
|
<size>3 0.15 0.5</size>
|
|
</box>
|
|
</geometry>
|
|
<pose>0 0 0.25 0 -0 0</pose>
|
|
<max_contacts>10</max_contacts>
|
|
<surface>
|
|
<contact>
|
|
<ode/>
|
|
</contact>
|
|
<bounce/>
|
|
<friction>
|
|
<torsional>
|
|
<ode/>
|
|
</torsional>
|
|
<ode/>
|
|
</friction>
|
|
</surface>
|
|
</collision>
|
|
<visual name='Wall_7_Visual'>
|
|
<pose>0 0 0.25 0 -0 0</pose>
|
|
<geometry>
|
|
<box>
|
|
<size>3 0.15 0.5</size>
|
|
</box>
|
|
</geometry>
|
|
<material>
|
|
<script>
|
|
<uri>file://media/materials/scripts/gazebo.material</uri>
|
|
<name>Gazebo/Bricks</name>
|
|
</script>
|
|
<ambient>1 1 1 1</ambient>
|
|
</material>
|
|
<meta>
|
|
<layer>0</layer>
|
|
</meta>
|
|
</visual>
|
|
<pose>-3.3 -0.75 0 0 -0 0</pose>
|
|
<self_collide>0</self_collide>
|
|
<enable_wind>0</enable_wind>
|
|
<kinematic>0</kinematic>
|
|
</link>
|
|
<link name='Wall_8'>
|
|
<collision name='Wall_8_Collision'>
|
|
<geometry>
|
|
<box>
|
|
<size>5.25 0.15 0.5</size>
|
|
</box>
|
|
</geometry>
|
|
<pose>0 0 0.25 0 -0 0</pose>
|
|
<max_contacts>10</max_contacts>
|
|
<surface>
|
|
<contact>
|
|
<ode/>
|
|
</contact>
|
|
<bounce/>
|
|
<friction>
|
|
<torsional>
|
|
<ode/>
|
|
</torsional>
|
|
<ode/>
|
|
</friction>
|
|
</surface>
|
|
</collision>
|
|
<visual name='Wall_8_Visual'>
|
|
<pose>0 0 0.25 0 -0 0</pose>
|
|
<geometry>
|
|
<box>
|
|
<size>5.25 0.15 0.5</size>
|
|
</box>
|
|
</geometry>
|
|
<material>
|
|
<script>
|
|
<uri>file://media/materials/scripts/gazebo.material</uri>
|
|
<name>Gazebo/Bricks</name>
|
|
</script>
|
|
<ambient>1 1 1 1</ambient>
|
|
</material>
|
|
<meta>
|
|
<layer>0</layer>
|
|
</meta>
|
|
</visual>
|
|
<pose>-1.875 1.8 0 0 -0 1.5708</pose>
|
|
<self_collide>0</self_collide>
|
|
<enable_wind>0</enable_wind>
|
|
<kinematic>0</kinematic>
|
|
</link>
|
|
<link name='Wall_9'>
|
|
<collision name='Wall_9_Collision'>
|
|
<geometry>
|
|
<box>
|
|
<size>6.75 0.15 0.5</size>
|
|
</box>
|
|
</geometry>
|
|
<pose>0 0 0.25 0 -0 0</pose>
|
|
<max_contacts>10</max_contacts>
|
|
<surface>
|
|
<contact>
|
|
<ode/>
|
|
</contact>
|
|
<bounce/>
|
|
<friction>
|
|
<torsional>
|
|
<ode/>
|
|
</torsional>
|
|
<ode/>
|
|
</friction>
|
|
</surface>
|
|
</collision>
|
|
<visual name='Wall_9_Visual'>
|
|
<pose>0 0 0.25 0 -0 0</pose>
|
|
<geometry>
|
|
<box>
|
|
<size>6.75 0.15 0.5</size>
|
|
</box>
|
|
</geometry>
|
|
<material>
|
|
<script>
|
|
<uri>file://media/materials/scripts/gazebo.material</uri>
|
|
<name>Gazebo/Bricks</name>
|
|
</script>
|
|
<ambient>1 1 1 1</ambient>
|
|
</material>
|
|
<meta>
|
|
<layer>0</layer>
|
|
</meta>
|
|
</visual>
|
|
<pose>1.425 4.35 0 0 -0 0</pose>
|
|
<self_collide>0</self_collide>
|
|
<enable_wind>0</enable_wind>
|
|
<kinematic>0</kinematic>
|
|
</link>
|
|
<static>1</static>
|
|
</model>
|
|
<state world_name='default'>
|
|
<sim_time>269 486000000</sim_time>
|
|
<real_time>50 81177948</real_time>
|
|
<wall_time>1680078489 372705217</wall_time>
|
|
<iterations>49960</iterations>
|
|
<model name='ground_plane'>
|
|
<pose>0 0 0 0 -0 0</pose>
|
|
<scale>1 1 1</scale>
|
|
<link name='link'>
|
|
<pose>0 0 0 0 -0 0</pose>
|
|
<velocity>0 0 0 0 -0 0</velocity>
|
|
<acceleration>0 0 0 0 -0 0</acceleration>
|
|
<wrench>0 0 0 0 -0 0</wrench>
|
|
</link>
|
|
</model>
|
|
<model name='slam_simple'>
|
|
<pose>3.20733 2.59271 0 0 -0 0</pose>
|
|
<scale>1 1 1</scale>
|
|
<link name='Wall_10'>
|
|
<pose>7.93233 5.26771 0 0 0 -1.5708</pose>
|
|
<velocity>0 0 0 0 -0 0</velocity>
|
|
<acceleration>0 0 0 0 -0 0</acceleration>
|
|
<wrench>0 0 0 0 -0 0</wrench>
|
|
</link>
|
|
<link name='Wall_11'>
|
|
<pose>6.00733 3.59271 0 0 -0 3.14159</pose>
|
|
<velocity>0 0 0 0 -0 0</velocity>
|
|
<acceleration>0 0 0 0 -0 0</acceleration>
|
|
<wrench>0 0 0 0 -0 0</wrench>
|
|
</link>
|
|
<link name='Wall_3'>
|
|
<pose>-1.51767 0.042712 0 0 0 -1.5708</pose>
|
|
<velocity>0 0 0 0 -0 0</velocity>
|
|
<acceleration>0 0 0 0 -0 0</acceleration>
|
|
<wrench>0 0 0 0 -0 0</wrench>
|
|
</link>
|
|
<link name='Wall_4'>
|
|
<pose>1.28233 -1.75729 0 0 -0 0</pose>
|
|
<velocity>0 0 0 0 -0 0</velocity>
|
|
<acceleration>0 0 0 0 -0 0</acceleration>
|
|
<wrench>0 0 0 0 -0 0</wrench>
|
|
</link>
|
|
<link name='Wall_5'>
|
|
<pose>4.08233 0.917712 0 0 -0 1.5708</pose>
|
|
<velocity>0 0 0 0 -0 0</velocity>
|
|
<acceleration>0 0 0 0 -0 0</acceleration>
|
|
<wrench>0 0 0 0 -0 0</wrench>
|
|
</link>
|
|
<link name='Wall_7'>
|
|
<pose>-0.092669 1.84271 0 0 -0 0</pose>
|
|
<velocity>0 0 0 0 -0 0</velocity>
|
|
<acceleration>0 0 0 0 -0 0</acceleration>
|
|
<wrench>0 0 0 0 -0 0</wrench>
|
|
</link>
|
|
<link name='Wall_8'>
|
|
<pose>1.33233 4.39271 0 0 -0 1.5708</pose>
|
|
<velocity>0 0 0 0 -0 0</velocity>
|
|
<acceleration>0 0 0 0 -0 0</acceleration>
|
|
<wrench>0 0 0 0 -0 0</wrench>
|
|
</link>
|
|
<link name='Wall_9'>
|
|
<pose>4.63233 6.94271 0 0 -0 0</pose>
|
|
<velocity>0 0 0 0 -0 0</velocity>
|
|
<acceleration>0 0 0 0 -0 0</acceleration>
|
|
<wrench>0 0 0 0 -0 0</wrench>
|
|
</link>
|
|
</model>
|
|
<light name='sun'>
|
|
<pose>0 0 10 0 -0 0</pose>
|
|
</light>
|
|
</state>
|
|
<gui fullscreen='0'>
|
|
<camera name='user_camera'>
|
|
<pose>-8.11492 1.58504 8.62702 0 0.693802 0.020204</pose>
|
|
<view_controller>orbit</view_controller>
|
|
<projection_type>perspective</projection_type>
|
|
</camera>
|
|
</gui>
|
|
</world>
|
|
</sdf>
|