Skip to content

Commit 51754df

Browse files
committed
new animations
1 parent ba871a8 commit 51754df

35 files changed

+282
-108
lines changed
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Loading
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

husarion_ugv_lights/config/panther_animations.yaml

Lines changed: 204 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -23,20 +23,30 @@ led_animations:
2323
priority: 3
2424
animations:
2525
- type: husarion_ugv_lights::ImageAnimation
26-
segments: all
26+
segments: front
2727
animation:
28-
image: $(find husarion_ugv_lights)/animations/panther/triangle01_red.png
29-
duration: 2
28+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_front_estop.png
29+
duration: 6
30+
- type: husarion_ugv_lights::ImageAnimation
31+
segments: rear
32+
animation:
33+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_rear_estop.png
34+
duration: 6
3035

3136
- id: 1
3237
name: READY
3338
priority: 3
3439
animations:
3540
- type: husarion_ugv_lights::ImageAnimation
36-
segments: all
41+
segments: front
3742
animation:
38-
image: $(find husarion_ugv_lights)/animations/panther/triangle01_green.png
39-
duration: 2
43+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_front_idle.png
44+
duration: 6
45+
- type: husarion_ugv_lights::ImageAnimation
46+
segments: rear
47+
animation:
48+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_rear_idle.png
49+
duration: 6
4050

4151
- id: 2
4252
name: ERROR
@@ -45,7 +55,7 @@ led_animations:
4555
- type: husarion_ugv_lights::ImageAnimation
4656
segments: all
4757
animation:
48-
image: $(find husarion_ugv_lights)/animations/panther/strip01_red.png
58+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_error.png
4959
duration: 2
5060
repeat: 2
5161

@@ -54,63 +64,216 @@ led_animations:
5464
priority: 3
5565
animations:
5666
- type: husarion_ugv_lights::ImageAnimation
57-
segments: all
67+
segments: front
68+
animation:
69+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_front_work.png
70+
duration: 6
71+
- type: husarion_ugv_lights::ImageAnimation
72+
segments: rear
5873
animation:
59-
image: $(find husarion_ugv_lights)/animations/panther/triangle01_blue.png
60-
duration: 3
74+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_rear_work.png
75+
duration: 6
6176

6277
- id: 4
63-
name: AUTONOMOUS_ACTION
64-
priority: 3
78+
name: LOW_BATTERY
79+
priority: 2
6580
animations:
66-
- type: husarion_ugv_lights::ImageAnimation
67-
segments: all
81+
- type: husarion_ugv_lights::MovingImageAnimation
82+
segments: front
6883
animation:
69-
image: $(find husarion_ugv_lights)/animations/panther/triangle01_orange.png
70-
duration: 3
84+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_low_battery.png
85+
duration: 10
86+
repeat: 1
87+
center_offset: 38
88+
object_width: 1
89+
start_offset: 0.0
90+
splash_duration: 10.0
91+
mirrored: false
92+
- type: husarion_ugv_lights::MovingImageAnimation
93+
segments: rear
94+
animation:
95+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_low_battery.png
96+
duration: 10
97+
repeat: 1
98+
center_offset: 38
99+
object_width: 1
100+
start_offset: 0.0
101+
splash_duration: 10.0
102+
mirrored: true
71103

72104
- id: 5
73-
name: GOAL_ACHIEVED
74-
priority: 1
105+
name: CRITICAL_BATTERY
106+
priority: 2
75107
animations:
76-
- type: husarion_ugv_lights::ImageAnimation
77-
segments: all
108+
- type: husarion_ugv_lights::MovingImageAnimation
109+
segments: front
78110
animation:
79-
image: $(find husarion_ugv_lights)/animations/panther/strip01_purple.png
80-
duration: 3
81-
repeat: 2
111+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_critical_battery.png
112+
duration: 10
113+
repeat: 1
114+
center_offset: 38
115+
object_width: 1
116+
start_offset: 0.0
117+
splash_duration: 10.0
118+
mirrored: false
119+
- type: husarion_ugv_lights::MovingImageAnimation
120+
segments: rear
121+
animation:
122+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_critical_battery.png
123+
duration: 10
124+
repeat: 1
125+
center_offset: 38
126+
object_width: 1
127+
start_offset: 0.0
128+
splash_duration: 10.0
129+
mirrored: true
82130

83131
- id: 6
84-
name: LOW_BATTERY
132+
name: CHARGING_BATTERY
85133
priority: 2
86134
animations:
87-
- type: husarion_ugv_lights::ImageAnimation
88-
segments: all
135+
- type: husarion_ugv_lights::MovingImageAnimation
136+
segments: front
89137
animation:
90-
image: $(find husarion_ugv_lights)/animations/panther/battery_low.png
91-
duration: 2
92-
repeat: 2
138+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_front_charging.png
139+
duration: 10
140+
repeat: 1
141+
center_offset: 38
142+
object_width: 1
143+
start_offset: 0.0
144+
splash_duration: 10.0
145+
mirrored: false
146+
- type: husarion_ugv_lights::MovingImageAnimation
147+
segments: rear
148+
animation:
149+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_rear_charging.png
150+
duration: 10
151+
repeat: 1
152+
center_offset: 38
153+
object_width: 1
154+
start_offset: 0.0
155+
splash_duration: 10.0
156+
mirrored: true
93157

94158
- id: 7
95-
name: CRITICAL_BATTERY
159+
name: BATTERY_CHARGED
160+
priority: 2
161+
animations:
162+
- type: husarion_ugv_lights::MovingImageAnimation
163+
segments: front
164+
animation:
165+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_front_charged.png
166+
duration: 10
167+
repeat: 1
168+
center_offset: 38
169+
object_width: 1
170+
start_offset: 0.0
171+
splash_duration: 10.0
172+
mirrored: false
173+
- type: husarion_ugv_lights::MovingImageAnimation
174+
segments: rear
175+
animation:
176+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_rear_charged.png
177+
duration: 10
178+
repeat: 1
179+
center_offset: 38
180+
object_width: 1
181+
start_offset: 0.0
182+
splash_duration: 10.0
183+
mirrored: true
184+
185+
- id: 9
186+
name: CHARGER_INSERTED
187+
priority: 1
188+
animations:
189+
- type: husarion_ugv_lights::ImageAnimation
190+
segments: front
191+
animation:
192+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_plugged_front.png
193+
duration: 5
194+
- type: husarion_ugv_lights::ImageAnimation
195+
segments: rear
196+
animation:
197+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_plugged_rear.png
198+
duration: 5
199+
200+
- id: 10
201+
name: BATTERY_NOMINAL
96202
priority: 2
97203
animations:
98204
- type: husarion_ugv_lights::ImageAnimation
99205
segments: all
100206
animation:
101-
image: $(find husarion_ugv_lights)/animations/panther/battery_critical.png
102-
duration: 2
103-
repeat: 2
207+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_empty.png
208+
duration: 1
209+
repeat: 1
210+
211+
- id: 11
212+
name: AUTONOMOUS_READY
213+
priority: 3
214+
animations:
215+
- type: husarion_ugv_lights::ImageAnimation
216+
segments: front
217+
animation:
218+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_front_auto_work.png
219+
duration: 10
220+
- type: husarion_ugv_lights::ImageAnimation
221+
segments: rear
222+
animation:
223+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_rear_auto_work.png
224+
duration: 10
104225

105-
# The BATTERY_STATE animation is no longer supported.
106-
# Animation ID: 8 was intentionally omitted to keep numbering compatibility with ROS 1.
107226

108-
- id: 9
109-
name: CHARGING_BATTERY
110-
priority: 2
227+
- id: 12
228+
name: AUTONOMOUS_ACTION
229+
priority: 3
111230
animations:
112-
- type: husarion_ugv_lights::ChargingAnimation
231+
- type: husarion_ugv_lights::ImageAnimation
232+
segments: front
233+
animation:
234+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_front_auto_work.png
235+
duration: 10
236+
- type: husarion_ugv_lights::ImageAnimation
237+
segments: rear
238+
animation:
239+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_rear_auto_work.png
240+
duration: 10
241+
242+
- id: 13
243+
name: GOAL_ACHIEVED
244+
priority: 1
245+
animations:
246+
- type: husarion_ugv_lights::ImageAnimation
247+
segments: front
248+
animation:
249+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_goal_front.png
250+
duration: 10
251+
- type: husarion_ugv_lights::ImageAnimation
252+
segments: rear
253+
animation:
254+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_goal_rear.png
255+
duration: 10
256+
257+
258+
259+
- id: 14
260+
name: BLINKER_LEFT
261+
priority: 1
262+
animations:
263+
- type: husarion_ugv_lights::ImageAnimation
113264
segments: all
114265
animation:
115-
duration: 3
116-
repeat: 2
266+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_blinker_left.png
267+
duration: 1
268+
repeat: 1
269+
270+
- id: 15
271+
name: BLINKER_RIGHT
272+
priority: 1
273+
animations:
274+
- type: husarion_ugv_lights::ImageAnimation
275+
segments: all
276+
animation:
277+
image: $(find husarion_ugv_lights)/animations/panther/animacje-2025-02_blinker_right.png
278+
duration: 1
279+
repeat: 1

0 commit comments

Comments
 (0)