Gazebo | Ignition | Community
Ask Your Question
0

Disable green light frame

asked 2018-05-08 09:11:01 -0600

Frederik Siepe gravatar image

To every light, there's an attached green frame showing the direction of the light. Is there a way to disable this frame? Preferably from within a c++ plugin or the sdf-file. Any help appreciated!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2021-11-29 13:44:15 -0600

shonigmann gravatar image

updated 2021-11-29 13:44:37 -0600

I recently stumbled across an implementation of a plugin that appears to do exactly what you were looking for, in NASA's IRG open source github. Source can be found here. Hopefully this helps people who stumble across this issue in the future.

edit flag offensive delete link more
0

answered 2018-05-08 10:29:46 -0600

chapulina gravatar image

There currently isn't a way to do this, see the open issue. It would be nice if someone made a pull request adding this feature :) At the very least, you could vote for that issue.

If you have a directional light, since its position is not important (only orientation matters), I usually place it far away from the scene, for example:

<pose>0 0 -1000 0 0 0</pose>

edit flag offensive delete link more

Comments

Ok thanks for your answer! I voted for the issue, hopefully it will be implemented soon!

Frederik Siepe gravatar imageFrederik Siepe ( 2018-05-16 08:55:49 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2018-05-08 09:11:01 -0600

Seen: 276 times

Last updated: Nov 29 '21