blob: 9b165fc8afe62c967a71df3859954f58557dbdd4 [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",
166 "type": "frc971.vision.TargetMap",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800167 "source_node": "orin{{ NUM }}",
168 "frequency": 65,
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800169 "num_senders": 2,
170 "max_size": 1024,
171 "logger": "LOCAL_AND_REMOTE_LOGGER",
172 "logger_nodes": [
173 "imu"
174 ],
175 "destination_nodes": [
176 {
177 "name": "imu",
178 "priority": 4,
179 "timestamp_logger": "LOCAL_AND_REMOTE_LOGGER",
180 "timestamp_logger_nodes": [
181 "orin{{ NUM }}"
182 ],
183 "time_to_live": 5000000
184 }
185 ]
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800186 },
187 {
188 "name": "/orin{{ NUM }}/camera1",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800189 "type": "frc971.vision.TargetMap",
190 "source_node": "orin{{ NUM }}",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800191 "frequency": 65,
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800192 "num_senders": 2,
193 "max_size": 1024,
194 "logger": "LOCAL_AND_REMOTE_LOGGER",
195 "logger_nodes": [
196 "imu"
197 ],
198 "destination_nodes": [
199 {
200 "name": "imu",
201 "priority": 4,
202 "timestamp_logger": "LOCAL_AND_REMOTE_LOGGER",
203 "timestamp_logger_nodes": [
204 "orin{{ NUM }}"
205 ],
206 "time_to_live": 5000000
207 }
208 ]
209 },
210 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800211 "name": "/orin{{ NUM }}/aos/remote_timestamps/imu/orin{{ NUM }}/camera0/frc971-vision-TargetMap",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800212 "type": "aos.message_bridge.RemoteMessage",
213 "frequency": 80,
214 "source_node": "orin{{ NUM }}",
215 "max_size": 208
216 },
217 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800218 "name": "/orin{{ NUM }}/aos/remote_timestamps/imu/orin{{ NUM }}/camera1/frc971-vision-TargetMap",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800219 "type": "aos.message_bridge.RemoteMessage",
220 "frequency": 80,
221 "source_node": "orin{{ NUM }}",
222 "max_size": 208
223 },
224 {
225 "name": "/orin{{ NUM }}/constants",
226 "type": "y2024.Constants",
227 "source_node": "orin{{ NUM }}",
228 "frequency": 1,
229 "num_senders": 2,
230 "max_size": 65536
231 }
232 ],
233 "applications": [
234 {
235 "name": "message_bridge_client",
236 "executable_name": "message_bridge_client",
237 "args": [
238 "--rt_priority=16",
239 "--sinit_max_init_timeout=5000"
240 ],
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800241 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800242 "nodes": [
243 "orin{{ NUM }}"
244 ]
245 },
246 {
247 "name": "irq_affinity",
248 "executable_name": "irq_affinity",
249 "user": "root",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800250 "args": ["--user=pi"],
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800251 "nodes": [
252 "orin{{ NUM }}"
253 ]
254 },
255 {
256 "name": "message_bridge_server",
257 "executable_name": "message_bridge_server",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800258 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800259 "nodes": [
260 "orin{{ NUM }}"
261 ]
262 },
263 {
264 "name": "web_proxy",
265 "executable_name": "web_proxy_main",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800266 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800267 "args": [
268 "--min_ice_port=5800",
269 "--max_ice_port=5810"
270 ],
271 "nodes": [
272 "orin{{ NUM }}"
273 ]
274 },
275 {
276 "name": "image_logger",
277 "executable_name": "image_logger",
278 "args": [
279 "--logging_folder",
280 "",
281 "--rotate_every",
282 "30.0",
283 "--direct",
284 "--flush_size=4194304"
285 ],
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800286 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800287 "nodes": [
288 "orin{{ NUM }}"
289 ]
290 },
291 {
292 "name": "foxglove_websocket",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800293 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800294 "nodes": [
295 "orin{{ NUM }}"
296 ]
297 },
298 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800299 "name": "foxglove_image_converter0",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800300 "executable_name": "foxglove_image_converter",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800301 "user": "pi",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800302 "args": [
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800303 "--channel", "/camera0"
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800304 ],
305 "nodes": [
306 "orin{{ NUM }}"
307 ]
308 },
309 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800310 "name": "foxglove_image_converter1",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800311 "executable_name": "foxglove_image_converter",
312 "user": "pi",
313 "args": [
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800314 "--channel", "/camera1"
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800315 ],
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800316 "nodes": [
317 "orin{{ NUM }}"
318 ]
319 },
320 {
321 "name": "constants_sender",
322 "autorestart": false,
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800323 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800324 "nodes": [
325 "orin{{ NUM }}"
326 ]
327 },
328 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800329 "name": "argus_camera0",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800330 "executable_name": "argus_camera",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800331 "args": [
332 "--enable_ftrace",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800333 "--camera=0",
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800334 "--channel=/camera0",
335 ],
336 "user": "pi",
337 "nodes": [
338 "orin{{ NUM }}"
339 ]
340 },
341 {
342 "name": "argus_camera1",
343 "executable_name": "argus_camera",
344 "args": [
345 "--enable_ftrace",
346 "--camera=1",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800347 "--channel=/camera1",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800348 ],
349 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800350 "nodes": [
351 "orin{{ NUM }}"
352 ]
353 },
354 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800355 "name": "apriltag_detector0",
356 "executable_name": "apriltag_detector",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800357 "args": [
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800358 "--channel=/camera0",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800359 ],
360 "user": "pi",
361 "nodes": [
362 "orin{{ NUM }}"
363 ]
364 },
365 {
366 "name": "apriltag_detector1",
Jim Ostrowskicb8b4082024-01-21 02:23:46 -0800367 "executable_name": "apriltag_detector",
Jim Ostrowski3dc21642024-01-22 16:08:40 -0800368 "args": [
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800369 "--channel=/camera1",
370 ],
371 "user": "pi",
372 "nodes": [
373 "orin{{ NUM }}"
374 ]
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800375 }
376 ],
377 "maps": [
378 {
379 "match": {
380 "name": "/aos*",
381 "source_node": "orin{{ NUM }}"
382 },
383 "rename": {
384 "name": "/orin{{ NUM }}/aos"
385 }
386 },
387 {
388 "match": {
389 "name": "/constants*",
390 "source_node": "orin{{ NUM }}"
391 },
392 "rename": {
393 "name": "/orin{{ NUM }}/constants"
394 }
395 },
396 {
397 "match": {
398 "name": "/camera*",
399 "source_node": "orin{{ NUM }}"
400 },
401 "rename": {
402 "name": "/orin{{ NUM }}/camera"
403 }
404 }
405 ],
406 "nodes": [
407 {
408 "name": "orin{{ NUM }}",
409 "hostname": "orin{{ NUM }}",
410 "hostnames": [
411 "orin-971-{{ NUM }}",
412 "orin-7971-{{ NUM }}",
413 "orin-8971-{{ NUM }}",
414 "orin-9971-{{ NUM }}"
415 ],
416 "port": 9971
417 },
418 {
419 "name": "imu"
420 }
421 ]
422}