Home | Tutorials | Wiki | Issues
Ask Your Question
0

How to change light intensity using a plugin

asked 2018-01-31 15:58:06 -0500

amish gravatar image

Gazebo 7 recently had an update that allowed lights be added to robot models as children of links: https://bitbucket.org/osrf/gazebo/pul...

The SDF spec supports things like light shape, distance, and attenuation, but the robot I'm working on has dimmable lights, and so far I haven't been able to find out how to change the light intensity using the gazebo API. I looked in gazebo:physics API and I was able to find the Light class as well as the LightState class, but those don't seem to govern the settings I'm looking for.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-01-31 16:39:12 -0500

You should look into rendering::Light. There's an explanation here about the Light's multiple personalities.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-01-31 15:49:15 -0500

Seen: 242 times

Last updated: Jan 31