blob: c947c3425eba2a849e8f6d78e42262d05f11ecaf [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": [
James Kuszmaul115def82024-02-22 14:42:05 -0800259 "--rt_priority=16"
Maxwell Hendersona7c5f8c2024-02-19 21:14:17 -0800260 ],
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800261 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800262 "nodes": [
263 "orin{{ NUM }}"
264 ]
265 },
266 {
267 "name": "web_proxy",
268 "executable_name": "web_proxy_main",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800269 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800270 "args": [
271 "--min_ice_port=5800",
272 "--max_ice_port=5810"
273 ],
274 "nodes": [
275 "orin{{ NUM }}"
276 ]
277 },
278 {
279 "name": "image_logger",
280 "executable_name": "image_logger",
281 "args": [
282 "--logging_folder",
283 "",
284 "--rotate_every",
285 "30.0",
286 "--direct",
287 "--flush_size=4194304"
288 ],
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800289 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800290 "nodes": [
291 "orin{{ NUM }}"
292 ]
293 },
294 {
295 "name": "foxglove_websocket",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800296 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800297 "nodes": [
298 "orin{{ NUM }}"
299 ]
300 },
301 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800302 "name": "foxglove_image_converter0",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800303 "executable_name": "foxglove_image_converter",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800304 "user": "pi",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800305 "args": [
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800306 "--channel", "/camera0"
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800307 ],
308 "nodes": [
309 "orin{{ NUM }}"
310 ]
311 },
312 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800313 "name": "foxglove_image_converter1",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800314 "executable_name": "foxglove_image_converter",
315 "user": "pi",
316 "args": [
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800317 "--channel", "/camera1"
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800318 ],
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800319 "nodes": [
320 "orin{{ NUM }}"
321 ]
322 },
323 {
324 "name": "constants_sender",
325 "autorestart": false,
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800326 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800327 "nodes": [
328 "orin{{ NUM }}"
329 ]
330 },
331 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800332 "name": "argus_camera0",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800333 "executable_name": "argus_camera",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800334 "args": [
335 "--enable_ftrace",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800336 "--camera=0",
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800337 "--channel=/camera0",
338 ],
339 "user": "pi",
340 "nodes": [
341 "orin{{ NUM }}"
342 ]
343 },
344 {
345 "name": "argus_camera1",
346 "executable_name": "argus_camera",
347 "args": [
348 "--enable_ftrace",
349 "--camera=1",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800350 "--channel=/camera1",
Jim Ostrowski8a1480f2024-01-20 00:31:51 -0800351 ],
352 "user": "pi",
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800353 "nodes": [
354 "orin{{ NUM }}"
355 ]
356 },
357 {
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800358 "name": "apriltag_detector0",
359 "executable_name": "apriltag_detector",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800360 "args": [
Jim Ostrowskib974cca2024-01-28 15:07:50 -0800361 "--channel=/camera0",
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800362 ],
363 "user": "pi",
364 "nodes": [
365 "orin{{ NUM }}"
366 ]
367 },
368 {
369 "name": "apriltag_detector1",
Jim Ostrowskicb8b4082024-01-21 02:23:46 -0800370 "executable_name": "apriltag_detector",
Jim Ostrowski3dc21642024-01-22 16:08:40 -0800371 "args": [
Jim Ostrowski9bf206a2024-01-26 23:31:58 -0800372 "--channel=/camera1",
373 ],
374 "user": "pi",
375 "nodes": [
376 "orin{{ NUM }}"
377 ]
Maxwell Henderson440e3f12024-01-17 19:44:13 -0800378 }
379 ],
380 "maps": [
381 {
382 "match": {
383 "name": "/aos*",
384 "source_node": "orin{{ NUM }}"
385 },
386 "rename": {
387 "name": "/orin{{ NUM }}/aos"
388 }
389 },
390 {
391 "match": {
392 "name": "/constants*",
393 "source_node": "orin{{ NUM }}"
394 },
395 "rename": {
396 "name": "/orin{{ NUM }}/constants"
397 }
398 },
399 {
400 "match": {
401 "name": "/camera*",
402 "source_node": "orin{{ NUM }}"
403 },
404 "rename": {
405 "name": "/orin{{ NUM }}/camera"
406 }
407 }
408 ],
409 "nodes": [
410 {
411 "name": "orin{{ NUM }}",
412 "hostname": "orin{{ NUM }}",
413 "hostnames": [
414 "orin-971-{{ NUM }}",
415 "orin-7971-{{ NUM }}",
416 "orin-8971-{{ NUM }}",
417 "orin-9971-{{ NUM }}"
418 ],
419 "port": 9971
420 },
421 {
422 "name": "imu"
423 }
424 ]
425}