Light Source
[Models]
- libgazebo interfaces
- Player drivers
- Attributes
- id (string)
- The model ID string (used by libgazebo to identify models).
- Default: (empty)
- xyz (float tuple, meters)
- Model position (x, y, z, in meters).
- Default: 0 0 0
- rpy (float tuple, degrees)
- Model orientation in Euler angles: roll, pitch, yaw.
- Default: 0 0 0
- gravity (bool)
- Enable/disable effect of gravity on this model
- Default: true
- enable (bool)
- Enable/disable the model's bodies (so it doesn't fall, for example)
- Default: true
- ambientColor (float tuple)
- Ambient color.
- Default: 0.2 0.2 0.2 1.0
- diffuseColor (float tuple)
- Diffuse color.
- Default: 0.8 0.8 0.8 1.0
- specularColor (float tuple)
- Specular color.
- Default: 0.2 0.2 0.2 1.0
- attenuation (float tuple)
- Constant, Linear, Quadratic attenuation.
- Default: 1.0 0.0 0.0
- Bodies
- canonical
- The canonical (default) body.
- Example
<model:LightSource> <xyz>0 0 0</xyz> </model:LightSource>
- Authors