You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
62 lines
2.0 KiB
Plaintext
62 lines
2.0 KiB
Plaintext
|
4 years ago
|
<?xml version="1.0" ?>
|
||
|
|
<sdf version="1.5">
|
||
|
|
<world name="default">
|
||
|
|
<!-- A global light source -->
|
||
|
|
<include>
|
||
|
|
<uri>model://sun</uri>
|
||
|
|
</include>
|
||
|
|
<!-- A ground plane -->
|
||
|
|
<include>
|
||
|
|
<uri>model://ground_plane</uri>
|
||
|
|
</include>
|
||
|
|
<include>
|
||
|
|
<uri>model://asphalt_plane</uri>
|
||
|
|
</include>
|
||
|
|
<plugin name='wind_plugin' filename='libgazebo_wind_plugin.so'>
|
||
|
|
<frameId>base_link</frameId>
|
||
|
|
<robotNamespace/>
|
||
|
|
<windVelocityMean>4.0</windVelocityMean>
|
||
|
|
<windVelocityMax>20.0</windVelocityMax>
|
||
|
|
<windVelocityVariance>0</windVelocityVariance>
|
||
|
|
<windDirectionMean>0 1 0</windDirectionMean>
|
||
|
|
<windDirectionVariance>0</windDirectionVariance>
|
||
|
|
<windGustStart>0</windGustStart>
|
||
|
|
<windGustDuration>0</windGustDuration>
|
||
|
|
<windGustVelocityMean>0</windGustVelocityMean>
|
||
|
|
<windGustVelocityMax>20.0</windGustVelocityMax>
|
||
|
|
<windGustVelocityVariance>0</windGustVelocityVariance>
|
||
|
|
<windGustDirectionMean>1 0 0</windGustDirectionMean>
|
||
|
|
<windGustDirectionVariance>0</windGustDirectionVariance>
|
||
|
|
<windPubTopic>world_wind</windPubTopic>
|
||
|
|
</plugin>
|
||
|
|
<physics name='default_physics' default='0' type='ode'>
|
||
|
|
<gravity>0 0 -9.8066</gravity>
|
||
|
|
<ode>
|
||
|
|
<solver>
|
||
|
|
<type>quick</type>
|
||
|
|
<iters>10</iters>
|
||
|
|
<sor>1.3</sor>
|
||
|
|
<use_dynamic_moi_rescaling>0</use_dynamic_moi_rescaling>
|
||
|
|
</solver>
|
||
|
|
<constraints>
|
||
|
|
<cfm>0</cfm>
|
||
|
|
<erp>0.2</erp>
|
||
|
|
<contact_max_correcting_vel>100</contact_max_correcting_vel>
|
||
|
|
<contact_surface_layer>0.001</contact_surface_layer>
|
||
|
|
</constraints>
|
||
|
|
</ode>
|
||
|
|
<max_step_size>0.004</max_step_size>
|
||
|
|
<real_time_factor>1</real_time_factor>
|
||
|
|
<real_time_update_rate>250</real_time_update_rate>
|
||
|
|
<magnetic_field>6.0e-6 2.3e-5 -4.2e-5</magnetic_field>
|
||
|
|
</physics>
|
||
|
|
|
||
|
|
<model name="drone1">
|
||
|
|
<pose> 0 0 0.1 0 0 0</pose>
|
||
|
|
<include>
|
||
|
|
<uri>model://drone1</uri>
|
||
|
|
</include>
|
||
|
|
</model>
|
||
|
|
</world>
|
||
|
|
</sdf>
|