You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior: Lights to change color when using the component inspector
Actual behavior: Most of the time nothing happens (sometimes will change color but only seems to be once). When changing one of the RGBA sliders then changing another, the first slider will reset back. For example, if I change R then B, R seems to reset back.
I'm debugging this issue and something is weird here.
the flow is: The data is generated by the GUI -> UserCommand will receive the new light data -> renderutil should read this new data and modify the light
The data is fine in the two first steps. UserCommand receive the data properly. The first iteration when this method run, the LightCmd component is created, and renderutil is able to read this new data, in the _ecm.Each<components::LightCmd>
but when this method run for the second time, the data remains with the data of the first iteration.
I'm removing the LightCmd component with _ecm.RemoveComponent<components::LightCmd>
I check that the state has OneTimeChange activated
Why lightCmd does not change ?
I tried this with GzScene3D and MinimalScene, the result is the same in both cases.
Environment
Source,
main
branch, commit 1fb3207Description
Steps to reproduce
ign gazebo -v 4 lights.sdf
The text was updated successfully, but these errors were encountered: