spiri-sdk/guiTools/ardupilot_gazebo/models/runway/model.sdf

62 lines
1.9 KiB
XML
Executable File

<?xml version='1.0'?>
<sdf version="1.9">
<model name="runway">
<static>true</static>
<link name="link">
<collision name="collision">
<geometry>
<plane>
<normal>0 0 1</normal>
</plane>
</geometry>
</collision>
<visual name="runway">
<pose degrees="true">0 0 0 0 0 90</pose>
<cast_shadows>false</cast_shadows>
<geometry>
<plane>
<normal>0 0 1</normal>
<size>1500 100</size>
</plane>
</geometry>
<material>
<ambient>0.8 0.8 0.8 1</ambient>
<diffuse>0.8 0.8 0.8 1</diffuse>
<specular>0.1 0.1 0.1 1</specular>
<pbr>
<metal>
<albedo_map>materials/textures/runway.png</albedo_map>
<roughness>0.6</roughness>
<metalness>0</metalness>
</metal>
</pbr>
</material>
</visual>
<visual name="airfield">
<pose>0 0 -0.01 0 0 0</pose>
<cast_shadows>false</cast_shadows>
<geometry>
<mesh>
<uri>model://runway/meshes/airfield.dae</uri>
</mesh>
</geometry>
<material>
<ambient>0.8 0.8 0.8 1</ambient>
<diffuse>0.8 0.8 0.8 1</diffuse>
<specular>0.1 0.1 0.1 1</specular>
<pbr>
<metal>
<albedo_map>materials/textures/Grass004_2K_Color.jpg</albedo_map>
<ambient_occlusion_map>materials/textures/Grass004_2K_AmbientOcclusion.jpg</ambient_occlusion_map>
<normal_map>materials/textures/Grass004_2K_NormalGL.jpg</normal_map>
<roughness_map>materials/textures/Grass004_2K_Roughness.jpg</roughness_map>
<roughness>0.6</roughness>
<metalness>0</metalness>
</metal>
</pbr>
</material>
</visual>
</link>
</model>
</sdf>