Skip to content

Commit

Permalink
Add gazebo world for non-NVIDIA GPU
Browse files Browse the repository at this point in the history
Without activating NVIDIA GPU, world is very dark, so disable shadow to make world bright
See tork-a#370
See https://bitbucket.org/osrf/gazebo/issues/2623/no-shadows-and-sun-light-with-non-nvidia
  • Loading branch information
pazeshun committed Apr 17, 2020
1 parent 73450f8 commit e12f797
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions nextage_gazebo/worlds/empty_for_non_nvidia.world
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" ?>
<sdf version="1.5">
<world name="default">
<!-- Disable shadow to make world bright -->
<!-- Without activating NVIDIA GPU, world is very dark -->
<!-- See https://github.com/tork-a/rtmros_nextage/issues/370 -->
<!-- See https://bitbucket.org/osrf/gazebo/issues/2623/no-shadows-and-sun-light-with-non-nvidia -->
<scene>
<shadows>false</shadows>
</scene>
<!-- A global light source -->
<include>
<uri>model://sun</uri>
</include>
<!-- A ground plane -->
<include>
<uri>model://ground_plane</uri>
</include>
</world>
</sdf>

0 comments on commit e12f797

Please sign in to comment.