|
| 1 | +<sdf version='1.7'> |
| 2 | + <world name='my_world'> |
| 3 | + <physics name="1ms" type="ignored"> |
| 4 | + <max_step_size>0.001</max_step_size> |
| 5 | + <real_time_factor>1.0</real_time_factor> |
| 6 | + </physics> |
| 7 | + <plugin |
| 8 | + filename="gz-sim-physics-system" |
| 9 | + name="gz::sim::systems::Physics"> |
| 10 | + </plugin> |
| 11 | + <plugin |
| 12 | + filename="gz-sim-user-commands-system" |
| 13 | + name="gz::sim::systems::UserCommands"> |
| 14 | + </plugin> |
| 15 | + <plugin |
| 16 | + filename="gz-sim-scene-broadcaster-system" |
| 17 | + name="gz::sim::systems::SceneBroadcaster"> |
| 18 | + </plugin> |
| 19 | + <plugin filename="gz-sim-imu-system" |
| 20 | + name="gz::sim::systems::Imu"> |
| 21 | + </plugin> |
| 22 | + <plugin |
| 23 | + filename="gz-sim-sensors-system" |
| 24 | + name="gz::sim::systems::Sensors"> |
| 25 | + <render_engine>ogre2</render_engine> |
| 26 | + </plugin> |
| 27 | + <plugin |
| 28 | + filename="gz-sim-navsat-system" |
| 29 | + name="gz::sim::systems::NavSat"> |
| 30 | + </plugin> |
| 31 | + <light name='sun' type='directional'> |
| 32 | + <cast_shadows>1</cast_shadows> |
| 33 | + <pose>0 0 10 0 -0 0</pose> |
| 34 | + <diffuse>0.8 0.8 0.8 1</diffuse> |
| 35 | + <specular>0.2 0.2 0.2 1</specular> |
| 36 | + <attenuation> |
| 37 | + <range>1000</range> |
| 38 | + <constant>0.9</constant> |
| 39 | + <linear>0.01</linear> |
| 40 | + <quadratic>0.001</quadratic> |
| 41 | + </attenuation> |
| 42 | + <direction>-0.5 0.1 -0.9</direction> |
| 43 | + <spot> |
| 44 | + <inner_angle>0</inner_angle> |
| 45 | + <outer_angle>0</outer_angle> |
| 46 | + <falloff>0</falloff> |
| 47 | + </spot> |
| 48 | + </light> |
| 49 | + <gravity>0 0 -9.8</gravity> |
| 50 | + <magnetic_field>6e-06 2.3e-05 -4.2e-05</magnetic_field> |
| 51 | + <atmosphere type='adiabatic'/> |
| 52 | + <physics type='ode'> |
| 53 | + <max_step_size>0.001</max_step_size> |
| 54 | + <real_time_factor>1</real_time_factor> |
| 55 | + <real_time_update_rate>1000</real_time_update_rate> |
| 56 | + </physics> |
| 57 | + <scene> |
| 58 | + <ambient>0.4 0.4 0.4 1</ambient> |
| 59 | + <background>0.7 0.7 0.7 1</background> |
| 60 | + <shadows>1</shadows> |
| 61 | + </scene> |
| 62 | + <wind/> |
| 63 | + <spherical_coordinates> |
| 64 | + <!-- currently gazebo has a bug: instead of outputing lat, long, altitude in ENU |
| 65 | + (x = East, y = North and z = Up) as the default configurations, it's outputting (-E)(-N)U, |
| 66 | + therefore we rotate the default frame 180 so that it would go back to ENU |
| 67 | + see: https://github.com/osrf/gazebo/issues/2022 --> |
| 68 | + <surface_model>EARTH_WGS84</surface_model> |
| 69 | + <latitude_deg>38.161479</latitude_deg> |
| 70 | + <longitude_deg>-122.454630</longitude_deg> |
| 71 | + <elevation>488.0</elevation> |
| 72 | + <!-- <heading_deg>180</heading_deg> --> |
| 73 | + </spherical_coordinates> |
| 74 | + <include> |
| 75 | + <pose>-287.5 143.5 -7 0 0 0</pose> |
| 76 | + <uri> |
| 77 | + https://fuel.gazebosim.org/1.0/OpenRobotics/models/Sonoma Raceway |
| 78 | + </uri> |
| 79 | + </include> |
| 80 | + <gui fullscreen='0'> |
| 81 | + <camera name='user_camera'> |
| 82 | + <pose>3.17226 -5.10401 6.58845 0 0.739643 2.19219</pose> |
| 83 | + <view_controller>orbit</view_controller> |
| 84 | + <projection_type>perspective</projection_type> |
| 85 | + </camera> |
| 86 | + </gui> |
| 87 | + </world> |
| 88 | +</sdf> |
0 commit comments