Simulate lighting on a moving camera

asked 2016-10-29 04:02:23 -0500

mikegao88 gravatar image

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!

edit retag flag offensive close merge delete

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

nkoenig gravatar imagenkoenig ( 2016-10-31 09:52:25 -0500 )edit
1

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

iche033 gravatar imageiche033 ( 2016-10-31 12:41:51 -0500 )edit