Gazebo simulation light
In Gazebo Harmonic / SDF, the main light types are:
- point
- spot
- directional
They differ by:
- how light is emitted
- whether there is direction
- whether intensity decays with distance
- whether the light is focused
Real world analogy
| Real object | Gazebo type |
|---|---|
| Candle | point |
| Flashlight | spot |
| Sun | directional |
| Car headlight | spot |
| Ceiling bulb | point |
| Stadium projector | spot |
Demo Sun:
light / sun gizmo
directional light ignore position the gazebo gui mark the light as green square that shown in the pose tag, it is just a gizmo