Source or binary build? Source build of Gazebo Harmonic
Description
An updated issue of #910. The goals is to enable sensors to override <scene> attributes (such as background color and ambient light values); a proposed solution is to create a boolean tag in <plugin filename="MinimalScene" name="3D View"> that explicitly overrides <scene> attributes.
Expected behavior: The attributes (e.g., background_color and ambient_light values) in MinimalScene are used for GUI. The attributes (e.g., background and ambient values) in <scene> are used for sensors.
Actual behavior: Currently, <scene>'s background and ambient values override MinimalScene's respective values; <scene>'s values are used for the GUI instead of MinimalScene's.
Run the attached SDF file (which is sensors_demo.sdf with a <scene> tag added).
Note that <scene>'s background value is green, and both the GUI and sensor backgrounds are green. MinimalScene's background_color value, which is light grey, is not used for GUI.
Environment
Description
An updated issue of #910. The goals is to enable sensors to override
<scene>
attributes (such as background color and ambient light values); a proposed solution is to create a boolean tag in<plugin filename="MinimalScene" name="3D View">
that explicitly overrides<scene>
attributes.background_color
andambient_light
values) inMinimalScene
are used for GUI. The attributes (e.g.,background
andambient
values) in<scene>
are used for sensors.<scene>
'sbackground
andambient
values overrideMinimalScene
's respective values;<scene>
's values are used for the GUI instead ofMinimalScene
's.Steps to reproduce
sensors_demo.sdf.txt
<scene>
tag added).<scene>
'sbackground
value is green, and both the GUI and sensor backgrounds are green.MinimalScene
'sbackground_color
value, which is light grey, is not used for GUI.Output