Turning lights On and Off on Gazebo with ROS

asked 2018-03-31 03:28:07 -0500

matirc gravatar image

Hello there, I have a world with several spot lights on it. I would like to change their properties to make them go off when my robot is close to them. Is there any way to change spot light properties through ROS code for switching them On and Off? In that case, how would I have to code it?

Thanks :))

edit retag flag offensive close merge delete



It might be easier to do this with a gazebo plugin.

ahendrix gravatar imageahendrix ( 2018-03-31 03:37:48 -0500 )edit

In that case, how could I do it?

matirc gravatar imagematirc ( 2018-04-01 12:35:53 -0500 )edit

Did you make any progress with this?

Sidd gravatar imageSidd ( 2018-10-03 13:59:58 -0500 )edit