|
1 | 1 | <?xml version="1.0" ?>
|
2 | 2 | <sdf version="1.11">
|
3 | 3 | <world name="default">
|
4 |
| - <gui fullscreen="0"> |
| 4 | +<?xml version="1.0" ?> |
| 5 | +<sdf version="1.6"> |
| 6 | + <world name="default"> |
| 7 | + <physics name="1ms" type="ignored"> |
| 8 | + <max_step_size>0.001</max_step_size> |
| 9 | + <real_time_factor>1.0</real_time_factor> |
| 10 | + </physics> |
| 11 | + <plugin |
| 12 | + filename="gz-sim-physics-system" |
| 13 | + name="gz::sim::systems::Physics"> |
| 14 | + </plugin> |
| 15 | + <plugin |
| 16 | + filename="gz-sim-user-commands-system" |
| 17 | + name="gz::sim::systems::UserCommands"> |
| 18 | + </plugin> |
| 19 | + <plugin |
| 20 | + filename="gz-sim-scene-broadcaster-system" |
| 21 | + name="gz::sim::systems::SceneBroadcaster"> |
| 22 | + </plugin> |
| 23 | + <plugin |
| 24 | + filename="gz-sim-sensors-system" |
| 25 | + name="gz::sim::systems::Sensors"> |
| 26 | + <render_engine>ogre2</render_engine> |
| 27 | + </plugin> |
5 | 28 |
|
6 |
| - <plugin filename="GzScene3D" name="3D View"> |
| 29 | + <gui fullscreen="0"> |
| 30 | + <plugin filename="MinimalScene" name="3D View"> |
7 | 31 | <gz-gui>
|
8 |
| - <title>3D View</title> |
9 |
| - <property type="bool" key="showTitleBar">false</property> |
10 |
| - <property type="string" key="state">docked</property> |
| 32 | + <title>3D View</title> |
| 33 | + <property type="bool" key="showTitleBar">false</property> |
| 34 | + <property type="string" key="state">docked</property> |
11 | 35 | </gz-gui>
|
12 | 36 | <engine>ogre2</engine>
|
13 | 37 | <scene>scene</scene>
|
14 |
| - <background_color>0.9 0.753 0.66</background_color> |
15 |
| - <camera_pose>-5.0 0.0 -6.0 0.0 0.0 0.0</camera_pose> |
| 38 | + <ambient_light>0.4 0.4 0.4</ambient_light> |
| 39 | + <background_color>0.8 0.8 0.8</background_color> |
| 40 | + <camera_pose>-6 0 6 0 0.5 0</camera_pose> |
| 41 | + </plugin> |
| 42 | + |
| 43 | + <!-- Plugins that add functionality to the scene --> |
| 44 | + <plugin filename="EntityContextMenuPlugin" name="Entity context menu"> |
| 45 | + <gz-gui> |
| 46 | + <property key="state" type="string">floating</property> |
| 47 | + <property key="width" type="double">5</property> |
| 48 | + <property key="height" type="double">5</property> |
| 49 | + <property key="showTitleBar" type="bool">false</property> |
| 50 | + </gz-gui> |
| 51 | + </plugin> |
| 52 | + |
| 53 | + <plugin filename="GzSceneManager" name="Scene Manager"> |
| 54 | + <gz-gui> |
| 55 | + <property key="resizable" type="bool">false</property> |
| 56 | + <property key="width" type="double">5</property> |
| 57 | + <property key="height" type="double">5</property> |
| 58 | + <property key="state" type="string">floating</property> |
| 59 | + <property key="showTitleBar" type="bool">false</property> |
| 60 | + </gz-gui> |
| 61 | + </plugin> |
| 62 | + |
| 63 | + <plugin filename="InteractiveViewControl" name="Interactive view control"> |
| 64 | + <gz-gui> |
| 65 | + <property key="resizable" type="bool">false</property> |
| 66 | + <property key="width" type="double">5</property> |
| 67 | + <property key="height" type="double">5</property> |
| 68 | + <property key="state" type="string">floating</property> |
| 69 | + <property key="showTitleBar" type="bool">false</property> |
| 70 | + </gz-gui> |
| 71 | + </plugin> |
| 72 | + |
| 73 | + <plugin filename="CameraTracking" name="Camera Tracking"> |
| 74 | + <gz-gui> |
| 75 | + <property key="resizable" type="bool">false</property> |
| 76 | + <property key="width" type="double">5</property> |
| 77 | + <property key="height" type="double">5</property> |
| 78 | + <property key="state" type="string">floating</property> |
| 79 | + <property key="showTitleBar" type="bool">false</property> |
| 80 | + </gz-gui> |
| 81 | + </plugin> |
| 82 | + |
| 83 | + <plugin filename="MarkerManager" name="Marker manager"> |
| 84 | + <gz-gui> |
| 85 | + <property key="resizable" type="bool">false</property> |
| 86 | + <property key="width" type="double">5</property> |
| 87 | + <property key="height" type="double">5</property> |
| 88 | + <property key="state" type="string">floating</property> |
| 89 | + <property key="showTitleBar" type="bool">false</property> |
| 90 | + </gz-gui> |
16 | 91 | </plugin>
|
17 | 92 |
|
18 |
| - <plugin filename="ImageDisplay" name="Image Display"> |
| 93 | + <plugin filename="SelectEntities" name="Select Entities"> |
| 94 | + <gz-gui> |
| 95 | + <property key="resizable" type="bool">false</property> |
| 96 | + <property key="width" type="double">5</property> |
| 97 | + <property key="height" type="double">5</property> |
| 98 | + <property key="state" type="string">floating</property> |
| 99 | + <property key="showTitleBar" type="bool">false</property> |
| 100 | + </gz-gui> |
| 101 | + </plugin> |
| 102 | + |
| 103 | + <plugin filename="Spawn" name="Spawn Entities"> |
| 104 | + <gz-gui> |
| 105 | + <property key="resizable" type="bool">false</property> |
| 106 | + <property key="width" type="double">5</property> |
| 107 | + <property key="height" type="double">5</property> |
| 108 | + <property key="state" type="string">floating</property> |
| 109 | + <property key="showTitleBar" type="bool">false</property> |
| 110 | + </gz-gui> |
| 111 | + </plugin> |
| 112 | + |
| 113 | + <plugin filename="VisualizationCapabilities" name="Visualization Capabilities"> |
| 114 | + <gz-gui> |
| 115 | + <property key="resizable" type="bool">false</property> |
| 116 | + <property key="width" type="double">5</property> |
| 117 | + <property key="height" type="double">5</property> |
| 118 | + <property key="state" type="string">floating</property> |
| 119 | + <property key="showTitleBar" type="bool">false</property> |
| 120 | + </gz-gui> |
| 121 | + </plugin> |
| 122 | + |
| 123 | + <!-- World control --> |
| 124 | + <plugin filename="WorldControl" name="World control"> |
19 | 125 | <gz-gui>
|
20 |
| - <property key="state" type="string">floating</property> |
| 126 | + <title>World control</title> |
| 127 | + <property type="bool" key="showTitleBar">false</property> |
| 128 | + <property type="bool" key="resizable">false</property> |
| 129 | + <property type="double" key="height">72</property> |
| 130 | + <property type="double" key="z">1</property> |
| 131 | + <property type="string" key="state">floating</property> |
| 132 | + <anchors target="3D View"> |
| 133 | + <line own="left" target="left"/> |
| 134 | + <line own="bottom" target="bottom"/> |
| 135 | + </anchors> |
21 | 136 | </gz-gui>
|
22 |
| - </plugin> |
23 |
| - </gui> |
24 |
| - |
25 |
| - <server_config> |
26 |
| - <plugins> |
27 |
| - <plugin entity_name="*" |
28 |
| - entity_type="world" |
29 |
| - filename="gz-sim-scene-broadcaster-system" |
30 |
| - name="gz::sim::systems::SceneBroadcaster"> |
31 |
| - </plugin> |
32 |
| - <plugin entity_name="*" |
33 |
| - entity_type="world" |
34 |
| - filename="gz-sim-sensors-system" |
35 |
| - name="gz::sim::systems::Sensors"> |
36 |
| - <render_engine>ogre2</render_engine> |
37 |
| - </plugin> |
38 |
| - </plugins> |
39 |
| - </server_config> |
40 |
| - |
41 |
| - <light type="directional" name="sun"> |
42 |
| - <cast_shadows>true</cast_shadows> |
43 |
| - <pose>0 0 10 0 0 0</pose> |
44 |
| - <diffuse>0.8 0.8 0.8 1</diffuse> |
45 |
| - <specular>0.2 0.2 0.2 1</specular> |
46 |
| - <attenuation> |
47 |
| - <range>1000</range> |
48 |
| - <constant>0.9</constant> |
49 |
| - <linear>0.01</linear> |
50 |
| - <quadratic>0.001</quadratic> |
51 |
| - </attenuation> |
52 |
| - <direction>-0.5 0.1 -0.9</direction> |
53 |
| - </light> |
| 137 | + <play_pause>true</play_pause> |
| 138 | + <step>true</step> |
| 139 | + <start_paused>true</start_paused> |
| 140 | + <use_event>true</use_event> |
| 141 | + </plugin> |
| 142 | + |
| 143 | + <!-- World statistics --> |
| 144 | + <plugin filename="WorldStats" name="World stats"> |
| 145 | + <gz-gui> |
| 146 | + <title>World stats</title> |
| 147 | + <property type="bool" key="showTitleBar">false</property> |
| 148 | + <property type="bool" key="resizable">false</property> |
| 149 | + <property type="double" key="height">110</property> |
| 150 | + <property type="double" key="width">290</property> |
| 151 | + <property type="double" key="z">1</property> |
| 152 | + <property type="string" key="state">floating</property> |
| 153 | + <anchors target="3D View"> |
| 154 | + <line own="right" target="right"/> |
| 155 | + <line own="bottom" target="bottom"/> |
| 156 | + </anchors> |
| 157 | + </gz-gui> |
| 158 | + <sim_time>true</sim_time> |
| 159 | + <real_time>true</real_time> |
| 160 | + <real_time_factor>true</real_time_factor> |
| 161 | + <iterations>true</iterations> |
| 162 | + </plugin> |
| 163 | + |
| 164 | + <!-- Insert simple shapes --> |
| 165 | + <plugin filename="Shapes" name="Shapes"> |
| 166 | + <gz-gui> |
| 167 | + <property key="resizable" type="bool">false</property> |
| 168 | + <property key="x" type="double">0</property> |
| 169 | + <property key="y" type="double">0</property> |
| 170 | + <property key="width" type="double">250</property> |
| 171 | + <property key="height" type="double">50</property> |
| 172 | + <property key="state" type="string">floating</property> |
| 173 | + <property key="showTitleBar" type="bool">false</property> |
| 174 | + <property key="cardBackground" type="string">#666666</property> |
| 175 | + </gz-gui> |
| 176 | + </plugin> |
| 177 | + |
| 178 | + <!-- Insert lights --> |
| 179 | + <plugin filename="Lights" name="Lights"> |
| 180 | + <gz-gui> |
| 181 | + <property key="resizable" type="bool">false</property> |
| 182 | + <property key="x" type="double">250</property> |
| 183 | + <property key="y" type="double">0</property> |
| 184 | + <property key="width" type="double">150</property> |
| 185 | + <property key="height" type="double">50</property> |
| 186 | + <property key="state" type="string">floating</property> |
| 187 | + <property key="showTitleBar" type="bool">false</property> |
| 188 | + <property key="cardBackground" type="string">#666666</property> |
| 189 | + </gz-gui> |
| 190 | + </plugin> |
| 191 | + |
| 192 | + <!-- Translate / rotate --> |
| 193 | + <plugin filename="TransformControl" name="Transform control"> |
| 194 | + <gz-gui> |
| 195 | + <property key="resizable" type="bool">false</property> |
| 196 | + <property key="x" type="double">0</property> |
| 197 | + <property key="y" type="double">50</property> |
| 198 | + <property key="width" type="double">250</property> |
| 199 | + <property key="height" type="double">50</property> |
| 200 | + <property key="state" type="string">floating</property> |
| 201 | + <property key="showTitleBar" type="bool">false</property> |
| 202 | + <property key="cardBackground" type="string">#777777</property> |
| 203 | + </gz-gui> |
| 204 | + </plugin> |
| 205 | + |
| 206 | + <!-- Inspector --> |
| 207 | + <plugin filename="ComponentInspector" name="Component inspector"> |
| 208 | + <gz-gui> |
| 209 | + <property type="bool" key="showTitleBar">false</property> |
| 210 | + <property type="string" key="state">docked</property> |
| 211 | + </gz-gui> |
| 212 | + </plugin> |
| 213 | + |
| 214 | + <!-- Entity tree --> |
| 215 | + <plugin filename="EntityTree" name="Entity tree"> |
| 216 | + <gz-gui> |
| 217 | + <property type="bool" key="showTitleBar">false</property> |
| 218 | + <property type="string" key="state">docked</property> |
| 219 | + </gz-gui> |
| 220 | + </plugin> |
| 221 | + |
| 222 | + <!-- Image Display --> |
| 223 | + <plugin filename="ImageDisplay" name="Image Display"> |
| 224 | + <gz-gui> |
| 225 | + <property type="bool" key="showTitleBar">false</property> |
| 226 | + <property type="string" key="state">docked</property> |
| 227 | + </gz-gui> |
| 228 | + </plugin> |
| 229 | + </gui> |
| 230 | + |
| 231 | + <light type="directional" name="sun"> |
| 232 | + <cast_shadows>true</cast_shadows> |
| 233 | + <pose>0 0 10 0 0 0</pose> |
| 234 | + <diffuse>0.8 0.8 0.8 1</diffuse> |
| 235 | + <specular>0.2 0.2 0.2 1</specular> |
| 236 | + <attenuation> |
| 237 | + <range>1000</range> |
| 238 | + <constant>0.9</constant> |
| 239 | + <linear>0.01</linear> |
| 240 | + <quadratic>0.001</quadratic> |
| 241 | + </attenuation> |
| 242 | + <direction>-0.5 0.1 -0.9</direction> |
| 243 | + </light> |
54 | 244 |
|
55 | 245 | <!-- Martian Gravity-->
|
56 |
| - <gravity>0 0 -3.711</gravity> |
| 246 | + <gravity>0 0 -3.711</gravity> |
57 | 247 |
|
58 |
| - <include> |
59 |
| - <uri>/home/spaceros-user/demos_ws/install/simulation/share/simulation/models/curiosity_path</uri> |
60 |
| - <name>curiosity_path</name> |
61 |
| - <pose>0 0 0 0 0 0</pose> |
62 |
| - </include> |
| 248 | + <include> |
| 249 | + <uri>/home/spaceros-user/demos_ws/install/simulation/share/simulation/models/curiosity_path</uri> |
| 250 | + <name>curiosity_path</name> |
| 251 | + <pose>0 0 0 0 0 0</pose> |
| 252 | + </include> |
63 | 253 |
|
64 | 254 | </world>
|
65 | 255 | </sdf>
|
0 commit comments