-
Notifications
You must be signed in to change notification settings - Fork 10
/
led_config.yaml
116 lines (104 loc) · 2.59 KB
/
led_config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
panels:
- channel: 1
number_of_leds: 46
- channel: 2
number_of_leds: 46
segments:
- name: front
channel: 1
led_range: 0-45
- name: rear
channel: 2
led_range: 45-0
segments_map:
all: [front, rear]
front: [front]
rear: [rear]
led_animations:
- id: 0
name: E_STOP
priority: 3
animations:
- type: panther_lights::ImageAnimation
segments: all
animation:
image: $(find panther_lights)/animations/triangle01_red.png
duration: 2
- id: 1
name: READY
priority: 3
animations:
- type: panther_lights::ImageAnimation
segments: all
animation:
image: $(find panther_lights)/animations/triangle01_green.png
duration: 2
- id: 2
name: ERROR
priority: 1
animations:
- type: panther_lights::ImageAnimation
segments: all
animation:
image: $(find panther_lights)/animations/strip01_red.png
duration: 3
repeat: 2
- id: 3
name: MANUAL_ACTION
priority: 3
animations:
- type: panther_lights::ImageAnimation
segments: all
animation:
image: $(find panther_lights)/animations/triangle01_blue.png
duration: 3
- id: 4
name: AUTONOMOUS_ACTION
priority: 3
animations:
- type: panther_lights::ImageAnimation
segments: all
animation:
image: $(find panther_lights)/animations/triangle01_orange.png
duration: 3
- id: 5
name: GOAL_ACHIEVED
priority: 2
animations:
- type: panther_lights::ImageAnimation
segments: all
animation:
image: $(find panther_lights)/animations/strip01_purple.png
duration: 3
repeat: 2
- id: 6
name: LOW_BATTERY
priority: 2
animations:
- type: panther_lights::ImageAnimation
segments: all
animation:
image: $(find panther_lights)/animations/battery_low.png
duration: 2
repeat: 2
- id: 7
name: CRITICAL_BATTERY
priority: 2
animations:
- type: panther_lights::ImageAnimation
segments: all
animation:
image: $(find panther_lights)/animations/battery_critical.png
duration: 2
repeat: 2
# The BATTERY_STATE animation is no longer supported.
# Animation ID: 8 was intentionally omitted to keep numbering compatibility with ROS 1.
- id: 9
name: CHARGING_BATTERY
priority: 3
animations:
- type: panther_lights::ChargingAnimation
segments: all
animation:
duration: 3
repeat: 2