blob: 9812086cfe6cba38055d50b414a2f845774e542a [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",
Maxwell Hendersona7c5f8c2024-02-19 21:14:17 -0800258 "args": [
259 "--rt_priority=16",
260 "--sinit_max_init_timeout=5000"
261 ],
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800262 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800263 "nodes": [
264 "orin{{ NUM }}"
265 ]
266 },
267 {
268 "name": "web_proxy",
269 "executable_name": "web_proxy_main",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800270 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800271 "args": [
272 "--min_ice_port=5800",
273 "--max_ice_port=5810"
274 ],
275 "nodes": [
276 "orin{{ NUM }}"
277 ]
278 },
279 {
280 "name": "image_logger",
281 "executable_name": "image_logger",
282 "args": [
283 "--logging_folder",
284 "",
285 "--rotate_every",
286 "30.0",
287 "--direct",
288 "--flush_size=4194304"
289 ],
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800290 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800291 "nodes": [
292 "orin{{ NUM }}"
293 ]
294 },
295 {
296 "name": "foxglove_websocket",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800297 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800298 "nodes": [
299 "orin{{ NUM }}"
300 ]
301 },
302 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800303 "name": "foxglove_image_converter0",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800304 "executable_name": "foxglove_image_converter",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800305 "user": "pi",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800306 "args": [
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800307 "--channel", "/camera0"
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800308 ],
309 "nodes": [
310 "orin{{ NUM }}"
311 ]
312 },
313 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800314 "name": "foxglove_image_converter1",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800315 "executable_name": "foxglove_image_converter",
316 "user": "pi",
317 "args": [
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800318 "--channel", "/camera1"
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800319 ],
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800320 "nodes": [
321 "orin{{ NUM }}"
322 ]
323 },
324 {
325 "name": "constants_sender",
326 "autorestart": false,
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800327 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800328 "nodes": [
329 "orin{{ NUM }}"
330 ]
331 },
332 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800333 "name": "argus_camera0",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800334 "executable_name": "argus_camera",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800335 "args": [
336 "--enable_ftrace",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800337 "--camera=0",
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800338 "--channel=/camera0",
339 ],
340 "user": "pi",
341 "nodes": [
342 "orin{{ NUM }}"
343 ]
344 },
345 {
346 "name": "argus_camera1",
347 "executable_name": "argus_camera",
348 "args": [
349 "--enable_ftrace",
350 "--camera=1",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800351 "--channel=/camera1",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800352 ],
353 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800354 "nodes": [
355 "orin{{ NUM }}"
356 ]
357 },
358 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800359 "name": "apriltag_detector0",
360 "executable_name": "apriltag_detector",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800361 "args": [
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800362 "--channel=/camera0",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800363 ],
364 "user": "pi",
365 "nodes": [
366 "orin{{ NUM }}"
367 ]
368 },
369 {
370 "name": "apriltag_detector1",
Jim Ostrowskicb8b4082024-01-21 02:23:46 -0800371 "executable_name": "apriltag_detector",
Jim Ostrowski3dc21642024-01-22 16:08:40 -0800372 "args": [
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800373 "--channel=/camera1",
374 ],
375 "user": "pi",
376 "nodes": [
377 "orin{{ NUM }}"
378 ]
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800379 }
380 ],
381 "maps": [
382 {
383 "match": {
384 "name": "/aos*",
385 "source_node": "orin{{ NUM }}"
386 },
387 "rename": {
388 "name": "/orin{{ NUM }}/aos"
389 }
390 },
391 {
392 "match": {
393 "name": "/constants*",
394 "source_node": "orin{{ NUM }}"
395 },
396 "rename": {
397 "name": "/orin{{ NUM }}/constants"
398 }
399 },
400 {
401 "match": {
402 "name": "/camera*",
403 "source_node": "orin{{ NUM }}"
404 },
405 "rename": {
406 "name": "/orin{{ NUM }}/camera"
407 }
408 }
409 ],
410 "nodes": [
411 {
412 "name": "orin{{ NUM }}",
413 "hostname": "orin{{ NUM }}",
414 "hostnames": [
415 "orin-971-{{ NUM }}",
416 "orin-7971-{{ NUM }}",
417 "orin-8971-{{ NUM }}",
418 "orin-9971-{{ NUM }}"
419 ],
420 "port": 9971
421 },
422 {
423 "name": "imu"
424 }
425 ]
426}