2020-07-15 11:21:03 +08:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
<sdf version="1.5">
|
|
|
|
<world name="default">
|
|
|
|
|
|
|
|
<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>
|
|
|
|
<ode>
|
|
|
|
<solver>
|
|
|
|
<type>quick</type>
|
|
|
|
<iters>50</iters>
|
|
|
|
<sor>1.3</sor>
|
|
|
|
</solver>
|
|
|
|
<constraints>
|
|
|
|
<cfm>0.0</cfm>
|
|
|
|
<erp>0.2</erp>
|
|
|
|
<contact_max_correcting_vel>10.0</contact_max_correcting_vel>
|
|
|
|
<contact_surface_layer>0.001</contact_surface_layer>
|
|
|
|
</constraints>
|
|
|
|
</ode>
|
|
|
|
</physics>
|
|
|
|
|
|
|
|
<scene>
|
|
|
|
<sky>
|
|
|
|
<clouds>
|
|
|
|
<speed>12</speed>
|
|
|
|
</clouds>
|
|
|
|
</sky>
|
|
|
|
</scene>
|
|
|
|
<!-- A global light source -->
|
|
|
|
<include>
|
|
|
|
<uri>model://sun</uri>
|
|
|
|
</include>
|
|
|
|
<!-- A ground plane -->
|
|
|
|
<include>
|
|
|
|
<uri>model://ground_plane</uri>
|
|
|
|
</include>
|
|
|
|
<!-- environment blocks, obstacles or stairs -->
|
|
|
|
<model name="static_environment">
|
|
|
|
<static>true</static>
|
|
|
|
<link name="floor">
|
|
|
|
<pose>0 0 0.09 0 0 0</pose>
|
|
|
|
<collision name="floor_collision">
|
|
|
|
<geometry>
|
|
|
|
<box>
|
|
|
|
<size>2 2 0.18</size>
|
|
|
|
</box>
|
|
|
|
</geometry>
|
|
|
|
</collision>
|
|
|
|
<visual name="floor_visual">
|
|
|
|
<geometry>
|
|
|
|
<box>
|
|
|
|
<size>2 2 0.18</size>
|
|
|
|
</box>
|
|
|
|
</geometry>
|
|
|
|
<material>
|
|
|
|
<ambient>0.2 0.2 0.2 1.0</ambient>
|
|
|
|
<diffuse>.421 0.225 0.0 1.0</diffuse>
|
|
|
|
</material>
|
|
|
|
</visual>
|
|
|
|
</link>
|
|
|
|
|
|
|
|
<link name="floor2">
|
|
|
|
<pose>2.2 0 0.09 0 0 0</pose>
|
|
|
|
<collision name="floor2_collision">
|
|
|
|
<geometry>
|
|
|
|
<box>
|
|
|
|
<size>2 2 0.18</size>
|
|
|
|
</box>
|
|
|
|
</geometry>
|
|
|
|
</collision>
|
|
|
|
<visual name="floor2_visual">
|
|
|
|
<geometry>
|
|
|
|
<box>
|
|
|
|
<size>2 2 0.18</size>
|
|
|
|
</box>
|
|
|
|
</geometry>
|
|
|
|
<material>
|
|
|
|
<ambient>0.2 0.2 0.2 1.0</ambient>
|
|
|
|
<diffuse>.421 0.225 0.0 1.0</diffuse>
|
|
|
|
</material>
|
|
|
|
</visual>
|
|
|
|
</link>
|
|
|
|
|
|
|
|
<link name="floor3">
|
|
|
|
<pose>5.2 0 0.63 0 0 0</pose>
|
|
|
|
<collision name="floor3_collision">
|
|
|
|
<geometry>
|
|
|
|
<box>
|
|
|
|
<size>2 2 0.18</size>
|
|
|
|
</box>
|
|
|
|
</geometry>
|
|
|
|
</collision>
|
|
|
|
<visual name="floor3_visual">
|
|
|
|
<geometry>
|
|
|
|
<box>
|
|
|
|
<size>2 2 0.18</size>
|
|
|
|
</box>
|
|
|
|
</geometry>
|
|
|
|
<material>
|
|
|
|
<ambient>0.2 0.2 0.2 1.0</ambient>
|
|
|
|
<diffuse>.421 0.225 0.0 1.0</diffuse>
|
|
|
|
</material>
|
|
|
|
</visual>
|
|
|
|
</link>
|
|
|
|
|
|
|
|
</model>
|
|
|
|
|
|
|
|
<include>
|
2022-03-11 15:00:14 +08:00
|
|
|
<uri>model:///home/unitree/catkin_ws/src/unitree_ros/unitree_gazebo/worlds/building_editor_models/stairs</uri>
|
2020-07-15 11:21:03 +08:00
|
|
|
</include>
|
|
|
|
|
|
|
|
</world>
|
|
|
|
</sdf>
|