Home
FAQ
Player
Utilities
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

Light Source
[Models]

The LightSource model simulates a single point light.

libgazebo interfaces
This model has no libgazebo interface.

Player drivers
There are no Player drivers available.

Attributes
The following attributes are supported.

  • 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

  • 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
The following bodies are created by this model.

  • canonical
    • The canonical (default) body.

Example
<model:LightSource>
  <xyz>0 0 0</xyz>
</model:LightSource>

Authors
Nate Koenig, Andrew Howard


Last updated $Date: 2004/12/21 01:49:15 $
Generated on Sun May 22 18:39:09 2005 for Gazebo by doxygen 1.4.2