interaction_skills/action/DoLedEffect

 1std_skills/Meta meta
 2
 3# The LED groups to use for the effect.
 4# They are identified by their name (e.g., ["ear_leds", "back_leds"]).
 5# An empty list means the effect is applied to all LED groups.
 6# The list of available LED groups should be exposed by the action server;
 7# it is suggested to use a read-only array of strings "led_groups" parameter for this purpose.
 8string[] groups
 9
10# The selected LED effect.
11string EFFECT_SOLID_COLOR = "solid_color"
12string EFFECT_RAINBOW = "rainbow"
13string EFFECT_FADE = "fade"
14string EFFECT_BLINK = "blink"
15string EFFECT_FLOW = "flow"
16string effect "solid_color"
17
18# Total duration of the effect before the action is completed.
19# A null or negative number will mean the action continues indefinitely until canceled.
20float32 duration
21
22# Used for effects:
23# - EFFECT_SOLID_COLOR
24# - EFFECT_FADE
25# - EFFECT_BLINK
26# - EFFECT_FLOW
27interaction_skills/LedColor color
28
29# Used for effects:
30# - EFFECT_SOLID_COLOR
31# - EFFECT_FADE
32# - EFFECT_BLINK
33# - EFFECT_FLOW
34interaction_skills/LedColor secondary_color
35
36# Duration in seconds of a single cycle of the effect.
37# Used for effects:
38# - EFFECT_RAINBOW
39# - EFFECT_FADE
40# - EFFECT_BLINK
41# - EFFECT_FLOW
42float32 cycle 1.0
43
44# For effects with two phases in a cycle
45# (or two spatially separated partitions as in EFFECT_SOLID_COLOR),
46# the proportion of the first one ([0., 1.])
47# Used for effects:
48# - EFFECT_SOLID_COLOR
49# - EFFECT_FADE
50# - EFFECT_BLINK
51float32 partition 1.0
52
53---
54std_skills/Result result
55
56---
57std_skills/Feedback feedback