File: cob_light/LightMode.msg
Raw Message Definition
uint8 mode
uint8 NONE = 0 # will turn everything off
uint8 STATIC = 1 # will change the LEDs to "color"
uint8 FLASH = 2 # will change the LEDs frequently with "frequency" from "color" to black
uint8 BREATH = 3 # will change the LEDs smoothly with "frequency" from "color" to black
uint8 BREATH_COLOR = 4 # will change the LEDs smoothly with "frequency" from "color" to black
# and flips color in time
uint8 FADE_COLOR = 5 # will fade the colors in rainbow
std_msgs/ColorRGBA color #the color which will be used
float32 frequency # in Hz
float32 timeout # in s, requested mode will be executed for max timout s.
# default is 0 and meens no timeout.
int32 pulses # spezifies the amount of pulses which will be executed.
# eg: mode = flash, pulses = 2. Meens the light will flash two times
int8 priority # priority [-20,20] default = 0. Modes with same or higher priorities will
# be executed.
Compact Message Definition
uint8 NONE=0
uint8 STATIC=1
uint8 FLASH=2
uint8 BREATH=3
uint8 BREATH_COLOR=4
uint8 FADE_COLOR=5
uint8 mode
std_msgs/ColorRGBA color
float32 frequency
float32 timeout
int32 pulses
int8 priority