Skip to content

Commit

Permalink
minimal_scene.sdf example: add camera_clip params (#1166)
Browse files Browse the repository at this point in the history
This adds example camera_clip parameters to the
MinimalScene plugin in the example world file
minimal_scene.sdf

These parameters were added in gazebosim/gz-gui#309

Also increase timeout for examples build test

Signed-off-by: Steve Peters <[email protected]>
  • Loading branch information
scpeters authored Nov 5, 2021
1 parent 3f5706e commit a90bf42
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/worlds/minimal_scene.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,10 @@ Features:
<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>
<camera_clip>
<near>0.25</near>
<far>25000</far>
</camera_clip>
</plugin>

<!-- Plugins that add functionality to the scene -->
Expand Down
4 changes: 4 additions & 0 deletions test/integration/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,3 +105,7 @@ ign_build_tests(TYPE INTEGRATION
LIB_DEPS
${EXTRA_TEST_LIB_DEPS}
)

if(TARGET INTEGRATION_examples_build)
set_tests_properties(INTEGRATION_examples_build PROPERTIES TIMEOUT 320)
endif()

0 comments on commit a90bf42

Please sign in to comment.