Robotics StackExchange | Archived questions

Simulate lighting on a moving camera

Hello! I would like to know if it is possible in gazebo to simulate a lighting source attached to a 2D-RGB camera, like a LED, to work with some simulated dark working conditions. I tried to attach the point light descriptions to my camera urdf file within "gazebo" tag, but it does not work, and I am also not sure whether such lighting source of gazebo is moveable during simulation. Thanks for any suggestions in advance!

Asked by mikegao88 on 2016-10-29 04:02:23 UTC

Comments

Gazebo currently does not support attaching a light to a moving object. Here is the relevant issue: https://bitbucket.org/osrf/gazebo/issues/900

Asked by nkoenig on 2016-10-31 09:52:25 UTC

you can try publishing a light msg to the ~/light/modify topic

Asked by iche033 on 2016-10-31 12:41:51 UTC

Answers