blob: ac7a49f726843a26c173c1b1a5b531601dfa02b6 [file] [log] [blame]
Maxwell Henderson440e3f12024-01-17 19:44:13 -08001{
2 "channels": [
3 {
4 "name": "/orin{{ NUM }}/aos",
5 "type": "aos.timing.Report",
6 "source_node": "orin{{ NUM }}",
7 "frequency": 50,
8 "num_senders": 20,
Jim Ostrowski8a1480f2024-01-20 00:31:51 -08009 "max_size": 8192
Maxwell Henderson440e3f12024-01-17 19:44:13 -080010 },
11 {
12 "name": "/orin{{ NUM }}/aos",
13 "type": "aos.logging.LogMessageFbs",
14 "source_node": "orin{{ NUM }}",
15 "frequency": 200,
16 "num_senders": 20
17 },
18 {
19 "name": "/orin{{ NUM }}/aos",
20 "type": "aos.starter.Status",
21 "source_node": "orin{{ NUM }}",
22 "frequency": 50,
23 "num_senders": 20,
24 "max_size": 2000
25 },
26 {
27 "name": "/orin{{ NUM }}/aos",
28 "type": "aos.starter.StarterRpc",
29 "source_node": "orin{{ NUM }}",
30 "frequency": 10,
31 "num_senders": 2
32 },
33 {
34 "name": "/orin{{ NUM }}/aos",
35 "type": "aos.message_bridge.ServerStatistics",
36 "source_node": "orin{{ NUM }}",
37 "max_size": 2048,
38 "frequency": 10,
39 "num_senders": 2
40 },
41 {
42 "name": "/orin{{ NUM }}/aos",
43 "type": "aos.message_bridge.ClientStatistics",
44 "source_node": "orin{{ NUM }}",
45 "frequency": 20,
46 "num_senders": 2
47 },
48 {
49 "name": "/orin{{ NUM }}/aos",
50 "type": "aos.logging.DynamicLogCommand",
51 "source_node": "orin{{ NUM }}",
52 "frequency": 10,
53 "num_senders": 2
54 },
55 {
56 "name": "/orin{{ NUM }}/aos",
57 "type": "aos.message_bridge.Timestamp",
58 "source_node": "orin{{ NUM }}",
59 "frequency": 15,
60 "num_senders": 2,
61 "logger": "LOCAL_AND_REMOTE_LOGGER",
62 "logger_nodes": [
63 "imu"
64 ],
65 "max_size": 200,
66 "destination_nodes": [
67 {
68 "name": "imu",
69 "priority": 1,
70 "time_to_live": 5000000,
71 "timestamp_logger": "LOCAL_AND_REMOTE_LOGGER",
72 "timestamp_logger_nodes": [
73 "orin{{ NUM }}"
74 ]
75 }
76 ]
77 },
78 {
79 "name": "/orin{{ NUM }}/aos/remote_timestamps/imu/orin{{ NUM }}/aos/aos-message_bridge-Timestamp",
80 "type": "aos.message_bridge.RemoteMessage",
81 "frequency": 20,
82 "source_node": "orin{{ NUM }}",
83 "max_size": 208
84 },
85 {
86 "name": "/imu/aos",
87 "type": "aos.message_bridge.Timestamp",
88 "source_node": "imu",
89 "logger": "LOCAL_AND_REMOTE_LOGGER",
90 "logger_nodes": [
91 "orin{{ NUM }}"
92 ],
93 "destination_nodes": [
94 {
95 "name": "orin{{ NUM }}",
96 "priority": 1,
97 "timestamp_logger": "LOCAL_AND_REMOTE_LOGGER",
98 "timestamp_logger_nodes": [
99 "imu"
100 ],
101 "time_to_live": 5000000
102 }
103 ]
104 },
105 {
106 "name": "/imu/aos/remote_timestamps/orin{{ NUM }}/imu/aos/aos-message_bridge-Timestamp",
107 "type": "aos.message_bridge.RemoteMessage",
108 "frequency": 20,
109 "source_node": "imu",
110 "max_size": 208
111 },
112 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800113 "name": "/orin{{ NUM }}/camera0",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800114 "type": "frc971.vision.CameraImage",
115 "source_node": "orin{{ NUM }}",
116 "channel_storage_duration": 1000000000,
117 "frequency": 65,
118 "max_size": 4752384,
119 "num_readers": 6,
120 "read_method": "PIN",
121 "num_senders": 18
122 },
123 {
124 "name": "/orin{{ NUM }}/camera1",
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800125 "type": "frc971.vision.CameraImage",
126 "source_node": "orin{{ NUM }}",
127 "channel_storage_duration": 1000000000,
128 "frequency": 65,
129 "max_size": 4752384,
130 "num_readers": 6,
131 "read_method": "PIN",
132 "num_senders": 18
133 },
134 {
135 "name": "/orin{{ NUM }}/camera0",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800136 "type": "foxglove.CompressedImage",
137 "source_node": "orin{{ NUM }}",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800138 "channel_storage_duration": 1000000000,
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800139 "frequency": 65,
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800140 "max_size": 622384
141 },
142 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800143 "name": "/orin{{ NUM }}/camera1",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800144 "type": "foxglove.CompressedImage",
145 "source_node": "orin{{ NUM }}",
146 "channel_storage_duration": 1000000000,
147 "frequency": 65,
148 "max_size": 622384
149 },
150 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800151 "name": "/orin{{ NUM }}/camera0",
152 "type": "foxglove.ImageAnnotations",
153 "source_node": "orin{{ NUM }}",
154 "frequency": 65,
155 "max_size": 50000
156 },
157 {
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800158 "name": "/orin{{ NUM }}/camera1",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800159 "type": "foxglove.ImageAnnotations",
160 "source_node": "orin{{ NUM }}",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800161 "frequency": 65,
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800162 "max_size": 50000
163 },
164 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800165 "name": "/orin{{ NUM }}/camera0",
James Kuszmaul313e9ce2024-02-11 17:47:33 -0800166 "type": "y2024.localizer.Visualization",
167 "source_node": "imu",
168 "frequency": 65,
169 "max_size": 50000
170 },
171 {
172 "name": "/orin{{ NUM }}/camera1",
173 "type": "y2024.localizer.Visualization",
174 "source_node": "imu",
175 "frequency": 65,
176 "max_size": 50000
177 },
178 {
179 "name": "/orin{{ NUM }}/camera0",
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800180 "type": "frc971.vision.TargetMap",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800181 "source_node": "orin{{ NUM }}",
182 "frequency": 65,
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800183 "num_senders": 2,
184 "max_size": 1024,
185 "logger": "LOCAL_AND_REMOTE_LOGGER",
186 "logger_nodes": [
187 "imu"
188 ],
189 "destination_nodes": [
190 {
191 "name": "imu",
192 "priority": 4,
193 "timestamp_logger": "LOCAL_AND_REMOTE_LOGGER",
194 "timestamp_logger_nodes": [
195 "orin{{ NUM }}"
196 ],
197 "time_to_live": 5000000
198 }
199 ]
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800200 },
201 {
202 "name": "/orin{{ NUM }}/camera1",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800203 "type": "frc971.vision.TargetMap",
204 "source_node": "orin{{ NUM }}",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800205 "frequency": 65,
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800206 "num_senders": 2,
207 "max_size": 1024,
208 "logger": "LOCAL_AND_REMOTE_LOGGER",
209 "logger_nodes": [
210 "imu"
211 ],
212 "destination_nodes": [
213 {
214 "name": "imu",
215 "priority": 4,
216 "timestamp_logger": "LOCAL_AND_REMOTE_LOGGER",
217 "timestamp_logger_nodes": [
218 "orin{{ NUM }}"
219 ],
220 "time_to_live": 5000000
221 }
222 ]
223 },
224 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800225 "name": "/orin{{ NUM }}/aos/remote_timestamps/imu/orin{{ NUM }}/camera0/frc971-vision-TargetMap",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800226 "type": "aos.message_bridge.RemoteMessage",
227 "frequency": 80,
228 "source_node": "orin{{ NUM }}",
229 "max_size": 208
230 },
231 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800232 "name": "/orin{{ NUM }}/aos/remote_timestamps/imu/orin{{ NUM }}/camera1/frc971-vision-TargetMap",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800233 "type": "aos.message_bridge.RemoteMessage",
234 "frequency": 80,
235 "source_node": "orin{{ NUM }}",
236 "max_size": 208
237 },
238 {
239 "name": "/orin{{ NUM }}/constants",
240 "type": "y2024.Constants",
241 "source_node": "orin{{ NUM }}",
242 "frequency": 1,
243 "num_senders": 2,
244 "max_size": 65536
245 }
246 ],
247 "applications": [
248 {
249 "name": "message_bridge_client",
250 "executable_name": "message_bridge_client",
251 "args": [
252 "--rt_priority=16",
253 "--sinit_max_init_timeout=5000"
254 ],
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800255 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800256 "nodes": [
257 "orin{{ NUM }}"
258 ]
259 },
260 {
261 "name": "irq_affinity",
262 "executable_name": "irq_affinity",
263 "user": "root",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800264 "args": ["--user=pi"],
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800265 "nodes": [
266 "orin{{ NUM }}"
267 ]
268 },
269 {
270 "name": "message_bridge_server",
271 "executable_name": "message_bridge_server",
Maxwell Hendersona7c5f8c2024-02-19 21:14:17 -0800272 "args": [
James Kuszmaul115def82024-02-22 14:42:05 -0800273 "--rt_priority=16"
Maxwell Hendersona7c5f8c2024-02-19 21:14:17 -0800274 ],
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800275 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800276 "nodes": [
277 "orin{{ NUM }}"
278 ]
279 },
280 {
281 "name": "web_proxy",
282 "executable_name": "web_proxy_main",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800283 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800284 "args": [
285 "--min_ice_port=5800",
286 "--max_ice_port=5810"
287 ],
288 "nodes": [
289 "orin{{ NUM }}"
290 ]
291 },
292 {
293 "name": "image_logger",
294 "executable_name": "image_logger",
295 "args": [
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800296 "--rotate_every",
297 "30.0",
298 "--direct",
299 "--flush_size=4194304"
300 ],
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800301 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800302 "nodes": [
303 "orin{{ NUM }}"
304 ]
305 },
306 {
307 "name": "foxglove_websocket",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800308 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800309 "nodes": [
310 "orin{{ NUM }}"
311 ]
312 },
313 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800314 "name": "foxglove_image_converter0",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800315 "executable_name": "foxglove_image_converter",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800316 "user": "pi",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800317 "args": [
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800318 "--channel", "/camera0"
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800319 ],
320 "nodes": [
321 "orin{{ NUM }}"
322 ]
323 },
324 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800325 "name": "foxglove_image_converter1",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800326 "executable_name": "foxglove_image_converter",
327 "user": "pi",
328 "args": [
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800329 "--channel", "/camera1"
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800330 ],
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800331 "nodes": [
332 "orin{{ NUM }}"
333 ]
334 },
335 {
336 "name": "constants_sender",
337 "autorestart": false,
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800338 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800339 "nodes": [
340 "orin{{ NUM }}"
341 ]
342 },
343 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800344 "name": "argus_camera0",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800345 "executable_name": "argus_camera",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800346 "args": [
347 "--enable_ftrace",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800348 "--camera=0",
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800349 "--channel=/camera0",
350 ],
351 "user": "pi",
352 "nodes": [
353 "orin{{ NUM }}"
354 ]
355 },
356 {
357 "name": "argus_camera1",
358 "executable_name": "argus_camera",
359 "args": [
360 "--enable_ftrace",
361 "--camera=1",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800362 "--channel=/camera1",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800363 ],
364 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800365 "nodes": [
366 "orin{{ NUM }}"
367 ]
368 },
369 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800370 "name": "apriltag_detector0",
371 "executable_name": "apriltag_detector",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800372 "args": [
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800373 "--channel=/camera0",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800374 ],
375 "user": "pi",
376 "nodes": [
377 "orin{{ NUM }}"
378 ]
379 },
380 {
381 "name": "apriltag_detector1",
Jim Ostrowskicb8b4082024-01-21 02:23:46 -0800382 "executable_name": "apriltag_detector",
Jim Ostrowski3dc21642024-01-22 16:08:40 -0800383 "args": [
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800384 "--channel=/camera1",
385 ],
386 "user": "pi",
387 "nodes": [
388 "orin{{ NUM }}"
389 ]
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800390 }
391 ],
392 "maps": [
393 {
394 "match": {
395 "name": "/aos*",
396 "source_node": "orin{{ NUM }}"
397 },
398 "rename": {
399 "name": "/orin{{ NUM }}/aos"
400 }
401 },
402 {
403 "match": {
404 "name": "/constants*",
405 "source_node": "orin{{ NUM }}"
406 },
407 "rename": {
408 "name": "/orin{{ NUM }}/constants"
409 }
410 },
411 {
412 "match": {
413 "name": "/camera*",
414 "source_node": "orin{{ NUM }}"
415 },
416 "rename": {
417 "name": "/orin{{ NUM }}/camera"
418 }
419 }
420 ],
421 "nodes": [
422 {
423 "name": "orin{{ NUM }}",
424 "hostname": "orin{{ NUM }}",
425 "hostnames": [
426 "orin-971-{{ NUM }}",
427 "orin-7971-{{ NUM }}",
428 "orin-8971-{{ NUM }}",
429 "orin-9971-{{ NUM }}"
430 ],
431 "port": 9971
432 },
433 {
434 "name": "imu"
435 }
436 ]
437}