player_blinkenlight_cmd Struct Reference

Command: state (PLAYER_BLINKENLIGHT_CMD_STATE) This blinkenlight command sets the complete current state of the indicator light. More...

#include <player_interfaces.h>

Collaboration diagram for player_blinkenlight_cmd:
Collaboration graph

Detailed Description

Command: state (PLAYER_BLINKENLIGHT_CMD_STATE) This blinkenlight command sets the complete current state of the indicator light.

Public Attributes

uint16_t id
 identify the light we are addressing
 
uint8_t enable
 FALSE: disabled, TRUE: enabled.
 
float period
 flash period (duration of one whole on-off cycle) [s]. More...
 
float dutycycle
 flash duty cycle (ratio of time-on to time-off in one cycle (0.0 to 1.0). More...
 
player_color_t color
 the color of the light
 

Member Data Documentation

◆ dutycycle

float player_blinkenlight_cmd::dutycycle

flash duty cycle (ratio of time-on to time-off in one cycle (0.0 to 1.0).

◆ period

float player_blinkenlight_cmd::period

flash period (duration of one whole on-off cycle) [s].


The documentation for this struct was generated from the following file: