Blinkenlight model
Collaboration diagram for Blinkenlight model:

Simulates a blinking light.

API: Stg::ModelBlinkenlight

Worldfile properties

Summary and default values
blinkenlight
(
# generic model properties
size3 [0.02 0.02 0.02]

# type-specific properties
period 250
dutycycle 1.0
enabled 1
)
Notes
Details
  • enabled int
  • if 0, the light is off, else it is on
  • period int
  • the period of one on/of cycle, in msec
  • dutycycle float
  • the ratio of on-time to off-time