ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

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

Comments

1

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

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

In that case, how could I do it?

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

Did you make any progress with this?

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

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-11-24 02:33:35 -0500

Dharmin B. gravatar image

Maybe plugins like led plugin or flashlight plugin could help.

edit flag offensive delete link more

Question Tools

1 follower

Stats

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

Seen: 965 times

Last updated: Nov 24 '22