Skip to content

Commit

Permalink
Try to replace GzScene3D with Migration.md instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
j-rivero committed Sep 9, 2022
1 parent a25b01b commit d249a11
Showing 1 changed file with 27 additions and 13 deletions.
40 changes: 27 additions & 13 deletions garden/tutorials/sdf_worlds/world_demo.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -21,20 +21,34 @@
<gui fullscreen="0">

<!-- 3D scene -->
<plugin filename="GzScene3D" name="3D View">
<ignition-gui>
<title>3D View</title>
<property type="bool" key="showTitleBar">false</property>
<property type="string" key="state">docked</property>
</ignition-gui>

<engine>ogre2</engine>
<scene>scene</scene>
<ambient_light>0.4 0.4 0.4</ambient_light>
<background_color>0.8 0.8 0.8</background_color>
<camera_pose>-6 0 6 0 0.5 0</camera_pose>
<plugin filename="MinimalScene">
<gz-gui>
<title>3D View</title>
<property type="string" key="state">docked</property>
</gz-gui>
<engine>ogre2</engine>
<scene>scene</scene>
<ambient_light>0.4 0.4 0.4</ambient_light>
<background_color>0.8 0.8 0.8</background_color>
<camera_pose>-6 0 6 0 0.5 0</camera_pose>
</plugin>
<plugin filename="TransportSceneManager" name="Transport Scene Manager">
<gz-gui>
<anchors target="3D View">
<line own="right" target="right"/>
<line own="top" target="top"/>
</anchors>
<property key="resizable" type="bool">false</property>
<property key="width" type="double">5</property>
<property key="height" type="double">5</property>
<property key="state" type="string">floating</property>
<property key="showTitleBar" type="bool">false</property>
</gz-gui>
<service>/example/scene</service>
<pose_topic>/example/pose</pose_topic>
<deletion_topic>/example/delete</deletion_topic>
<scene_topic>/example/scene</scene_topic>
</plugin>

<!-- World control -->
<plugin filename="WorldControl" name="World control">
<gz-gui>
Expand Down

0 comments on commit d249a11

Please sign in to comment.