blob: 3dede1715bc7a12bf168f857d5eb4aa6b3027de7 [file] [log] [blame]
Niko Sohmers3860f8a2024-01-12 21:05:19 -08001{
2 "channels": [
3 {
4 "name": "/imu/aos",
Austin Schuhc979f7c2024-03-02 16:49:20 -08005 "type": "aos.util.FilesystemStatus",
6 "source_node": "imu",
7 "frequency": 2
8 },
9 {
10 "name": "/imu/aos",
Niko Sohmers3860f8a2024-01-12 21:05:19 -080011 "type": "aos.JoystickState",
12 "source_node": "imu",
Jim Ostrowski855b7442024-01-20 18:03:09 -080013 "frequency": 100,
14 "logger": "LOCAL_AND_REMOTE_LOGGER",
15 "logger_nodes": [
Austin Schuhc41249a2024-02-28 20:58:12 -080016 "orin1"
Jim Ostrowski855b7442024-01-20 18:03:09 -080017 ],
18 "destination_nodes": [
19 {
20 "name": "orin1",
21 "priority": 5,
22 "time_to_live": 50000000,
23 "timestamp_logger": "LOCAL_AND_REMOTE_LOGGER",
24 "timestamp_logger_nodes": [
25 "imu"
26 ]
Austin Schuhc41249a2024-02-28 20:58:12 -080027 }
Jim Ostrowski855b7442024-01-20 18:03:09 -080028 ]
29 },
30 {
31 "name": "/imu/aos/remote_timestamps/orin1/imu/aos/aos-JoystickState",
32 "type": "aos.message_bridge.RemoteMessage",
33 "source_node": "imu",
34 "logger": "NOT_LOGGED",
35 "frequency": 300,
36 "num_senders": 2,
37 "max_size": 200
38 },
39 {
Niko Sohmers3860f8a2024-01-12 21:05:19 -080040 "name": "/imu/aos",
41 "type": "aos.timing.Report",
42 "source_node": "imu",
43 "frequency": 50,
Austin Schuh19731b02024-03-02 16:53:19 -080044 "num_senders": 30,
Sindy Tan1fa8eb62024-07-17 23:02:21 -070045 "max_size": 10912
Niko Sohmers3860f8a2024-01-12 21:05:19 -080046 },
47 {
48 "name": "/imu/aos",
49 "type": "aos.logging.LogMessageFbs",
50 "source_node": "imu",
51 "frequency": 200,
Jim Ostrowski5fb0c532024-03-17 18:38:31 -070052 "num_senders": 30
Niko Sohmers3860f8a2024-01-12 21:05:19 -080053 },
54 {
55 "name": "/imu/aos",
56 "type": "aos.starter.Status",
57 "source_node": "imu",
58 "frequency": 50,
59 "num_senders": 20,
Sindy Tan1fa8eb62024-07-17 23:02:21 -070060 "max_size": 6144
Niko Sohmers3860f8a2024-01-12 21:05:19 -080061 },
62 {
63 "name": "/imu/aos",
64 "type": "aos.starter.StarterRpc",
65 "source_node": "imu",
66 "frequency": 10,
67 "num_senders": 2
68 },
69 {
70 "name": "/imu/aos",
71 "type": "aos.message_bridge.ServerStatistics",
72 "source_node": "imu",
73 "max_size": 2048,
74 "frequency": 10,
75 "num_senders": 2
76 },
77 {
78 "name": "/imu/aos",
79 "type": "aos.message_bridge.ClientStatistics",
80 "source_node": "imu",
81 "frequency": 20,
82 "num_senders": 2
83 },
84 {
85 "name": "/imu/aos",
86 "type": "aos.logging.DynamicLogCommand",
87 "source_node": "imu",
88 "frequency": 10,
89 "num_senders": 2
90 },
91 {
92 "name": "/imu/aos",
93 "type": "aos.message_bridge.Timestamp",
94 "source_node": "imu",
95 "frequency": 15,
96 "num_senders": 2,
97 "logger_nodes": [
98 "roborio"
99 ],
100 "max_size": 400,
101 "destination_nodes": [
102 {
103 "name": "roborio",
104 "priority": 1,
105 "timestamp_logger": "LOCAL_AND_REMOTE_LOGGER",
106 "timestamp_logger_nodes": [
107 "imu"
108 ],
109 "time_to_live": 5000000
110 }
111 ]
112 },
113 {
114 "name": "/imu/aos/remote_timestamps/roborio/imu/aos/aos-message_bridge-Timestamp",
115 "type": "aos.message_bridge.RemoteMessage",
116 "frequency": 20,
117 "source_node": "imu",
118 "max_size": 208
119 },
120 {
121 "name": "/roborio/aos",
122 "type": "aos.starter.StarterRpc",
123 "source_node": "roborio",
124 "logger": "LOCAL_AND_REMOTE_LOGGER",
125 "logger_nodes": [
126 "imu"
127 ],
128 "destination_nodes": [
129 {
130 "name": "imu",
131 "priority": 5,
132 "timestamp_logger": "LOCAL_AND_REMOTE_LOGGER",
133 "timestamp_logger_nodes": [
134 "roborio"
135 ],
136 "time_to_live": 5000000
137 }
138 ]
139 },
Maxwell Henderson563efed2024-02-17 21:11:33 -0800140 {
141 "name": "/localizer",
142 "type": "frc971.controls.LocalizerOutput",
143 "source_node": "imu",
144 "frequency": 52,
145 "logger": "LOCAL_AND_REMOTE_LOGGER",
146 "logger_nodes": [
147 "roborio"
148 ],
149 "destination_nodes": [
150 {
151 "name": "roborio",
152 "priority": 5,
153 "time_to_live": 5000000,
154 "timestamp_logger": "LOCAL_AND_REMOTE_LOGGER",
155 "timestamp_logger_nodes": [
156 "imu"
157 ]
158 }
159 ]
160 },
161 {
162 "name": "/imu/aos/remote_timestamps/roborio/localizer/frc971-controls-LocalizerOutput",
163 "type": "aos.message_bridge.RemoteMessage",
164 "source_node": "imu",
165 "logger": "NOT_LOGGED",
Austin Schuh51cffcd2024-03-22 19:56:12 -0700166 "frequency": 100,
Maxwell Henderson563efed2024-02-17 21:11:33 -0800167 "num_senders": 2,
168 "max_size": 200
169 },
Niko Sohmers3860f8a2024-01-12 21:05:19 -0800170 {
171 "name": "/roborio/aos/remote_timestamps/imu/roborio/aos/aos-starter-StarterRpc",
172 "type": "aos.message_bridge.RemoteMessage",
173 "source_node": "roborio",
174 "logger": "NOT_LOGGED",
175 "frequency": 20,
176 "num_senders": 2,
177 "max_size": 200
178 },
179 {
Maxwell Henderson3279bc52024-03-01 09:50:53 -0800180 "name": "/imu/camera0",
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800181 "type": "frc971.vision.CameraImage",
182 "source_node": "imu",
183 "channel_storage_duration": 1000000000,
Tushar Pankaj77560402024-03-17 19:37:12 -0700184 "frequency": 70,
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800185 "max_size": 4752384,
186 "num_readers": 6,
187 "read_method": "PIN",
188 "num_senders": 18
189 },
190 {
Maxwell Henderson3279bc52024-03-01 09:50:53 -0800191 "name": "/imu/camera1",
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800192 "type": "frc971.vision.CameraImage",
193 "source_node": "imu",
194 "channel_storage_duration": 1000000000,
Tushar Pankaj77560402024-03-17 19:37:12 -0700195 "frequency": 70,
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800196 "max_size": 4752384,
197 "num_readers": 6,
198 "read_method": "PIN",
199 "num_senders": 18
200 },
201 {
Maxwell Henderson3279bc52024-03-01 09:50:53 -0800202 "name": "/imu/camera0",
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800203 "type": "foxglove.CompressedImage",
204 "source_node": "imu",
205 "logger": "NOT_LOGGED",
206 "channel_storage_duration": 1000000000,
Tushar Pankaj77560402024-03-17 19:37:12 -0700207 "frequency": 70,
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800208 "max_size": 622384
209 },
210 {
Maxwell Henderson3279bc52024-03-01 09:50:53 -0800211 "name": "/imu/camera1",
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800212 "type": "foxglove.CompressedImage",
213 "source_node": "imu",
214 "logger": "NOT_LOGGED",
215 "channel_storage_duration": 1000000000,
Tushar Pankaj77560402024-03-17 19:37:12 -0700216 "frequency": 70,
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800217 "max_size": 622384
218 },
219 {
Maxwell Henderson3279bc52024-03-01 09:50:53 -0800220 "name": "/imu/camera0",
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800221 "type": "foxglove.ImageAnnotations",
222 "source_node": "imu",
Tushar Pankaj77560402024-03-17 19:37:12 -0700223 "frequency": 70,
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800224 "max_size": 50000
225 },
226 {
Maxwell Henderson3279bc52024-03-01 09:50:53 -0800227 "name": "/imu/camera1",
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800228 "type": "foxglove.ImageAnnotations",
229 "source_node": "imu",
Tushar Pankaj77560402024-03-17 19:37:12 -0700230 "frequency": 70,
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800231 "max_size": 50000
232 },
233 {
Maxwell Henderson3279bc52024-03-01 09:50:53 -0800234 "name": "/imu/camera0",
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800235 "type": "y2024.localizer.Visualization",
236 "source_node": "imu",
Tushar Pankaj77560402024-03-17 19:37:12 -0700237 "frequency": 70,
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800238 "max_size": 50000
239 },
240 {
Maxwell Henderson3279bc52024-03-01 09:50:53 -0800241 "name": "/imu/camera1",
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800242 "type": "y2024.localizer.Visualization",
243 "source_node": "imu",
Tushar Pankaj77560402024-03-17 19:37:12 -0700244 "frequency": 70,
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800245 "max_size": 50000
246 },
247 {
Maxwell Henderson3279bc52024-03-01 09:50:53 -0800248 "name": "/imu/camera0",
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800249 "type": "frc971.vision.TargetMap",
250 "source_node": "imu",
Tushar Pankaj77560402024-03-17 19:37:12 -0700251 "frequency": 70,
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800252 "num_senders": 2,
253 "max_size": 1024
254 },
255 {
Maxwell Henderson3279bc52024-03-01 09:50:53 -0800256 "name": "/imu/camera1",
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800257 "type": "frc971.vision.TargetMap",
258 "source_node": "imu",
Tushar Pankaj77560402024-03-17 19:37:12 -0700259 "frequency": 70,
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800260 "num_senders": 2,
261 "max_size": 1024
262 },
263 {
Maxwell Henderson4f35c832024-02-11 15:40:30 -0800264 "name": "/imu",
265 "type": "frc971.imu.DualImu",
266 "source_node": "imu",
267 "frequency": 1100,
268 "num_senders": 1,
269 "max_size": 496
270 },
271 {
272 "name": "/imu",
273 "type": "frc971.imu.CanTranslatorStatus",
274 "source_node": "imu",
275 "frequency": 1000,
276 "num_senders": 1,
277 "max_size": 200
278 },
279 {
Maxwell Henderson0604e6f2024-01-15 15:24:44 -0800280 "name": "/can/cana",
281 "type": "frc971.can_logger.CanFrame",
282 "source_node": "imu",
James Kuszmaul8a8e6002024-03-02 21:38:03 -0800283 "frequency": 9000,
284 "channel_storage_duration": 7000000000,
Maxwell Henderson0604e6f2024-01-15 15:24:44 -0800285 "num_senders": 2,
286 "max_size": 200
287 },
288 {
Niko Sohmers3860f8a2024-01-12 21:05:19 -0800289 "name": "/localizer",
290 "type": "frc971.IMUValuesBatch",
291 "source_node": "imu",
292 "frequency": 2200,
293 "max_size": 1600,
294 "num_senders": 2
295 },
296 {
Maxwell Henderson87b1e6c2024-02-11 23:40:05 -0800297 "name": "/imu",
298 "type": "frc971.imu.DualImuBlenderStatus",
299 "source_node": "imu",
300 "frequency": 1100,
301 "num_senders": 1,
302 "max_size": 200
303 },
304 {
James Kuszmaul313e9ce2024-02-11 17:47:33 -0800305 "name": "/localizer",
306 "type": "y2024.localizer.Status",
307 "source_node": "imu",
308 "frequency": 1600,
James Kuszmaul86116c22024-03-15 22:50:34 -0700309 "max_size": 3200,
James Kuszmaul313e9ce2024-02-11 17:47:33 -0800310 "num_senders": 2
311 },
312 {
Tushar Pankaj47313c12024-03-16 17:03:53 -0700313 "name": "/imu/hardware_monitor",
314 "type": "frc971.orin.HardwareStats",
315 "source_node": "imu",
316 "frequency": 2
317 },
318 {
Niko Sohmers3860f8a2024-01-12 21:05:19 -0800319 "name": "/imu/constants",
320 "type": "y2024.Constants",
321 "source_node": "imu",
322 "frequency": 1,
323 "num_senders": 2,
324 "max_size": 65536
325 }
326 ],
327 "applications": [
328 {
329 "name": "message_bridge_client",
Maxwell Hendersona7c5f8c2024-02-19 21:14:17 -0800330 "args": [
331 "--rt_priority=16",
Austin Schuh1aa19b22024-03-17 15:40:33 -0700332 "--sinit_max_init_timeout=5000",
333 "--rmem=8388608"
Maxwell Hendersona7c5f8c2024-02-19 21:14:17 -0800334 ],
Niko Sohmers3860f8a2024-01-12 21:05:19 -0800335 "nodes": [
336 "imu"
337 ]
338 },
339 {
Austin Schuh19731b02024-03-02 16:53:19 -0800340 "name": "irq_affinity",
341 "executable_name": "irq_affinity",
342 "user": "root",
343 "args": ["--user=pi", "--irq_config=orin_irq_config.json"],
344 "nodes": [
345 "imu"
346 ]
347 },
348 {
349 "name": "filesystem_monitor",
350 "executable_name": "filesystem_monitor",
351 "nodes": [
352 "imu"
353 ]
354 },
355 {
Tushar Pankaj47313c12024-03-16 17:03:53 -0700356 "name": "hardware_monitor",
357 "executable_name": "hardware_monitor",
358 "nodes": [
359 "imu"
360 ]
361 },
362 {
Niko Sohmers3860f8a2024-01-12 21:05:19 -0800363 "name": "joystick_republish",
364 "executable_name": "joystick_republish",
365 "user": "pi",
366 "nodes": [
367 "imu"
368 ]
369 },
370 {
371 "name": "message_bridge_server",
372 "executable_name": "message_bridge_server",
373 "user": "pi",
Maxwell Hendersona7c5f8c2024-02-19 21:14:17 -0800374 "args": [
Austin Schuh1aa19b22024-03-17 15:40:33 -0700375 "--rt_priority=16",
376 "--force_wmem_max=131072"
Maxwell Hendersona7c5f8c2024-02-19 21:14:17 -0800377 ],
Niko Sohmers3860f8a2024-01-12 21:05:19 -0800378 "nodes": [
379 "imu"
380 ]
381 },
382 {
James Kuszmaul313e9ce2024-02-11 17:47:33 -0800383 "name": "localizer",
384 "executable_name": "localizer_main",
385 "user": "pi",
386 "nodes": [
387 "imu"
388 ]
389 },
390 {
Niko Sohmers3860f8a2024-01-12 21:05:19 -0800391 "name": "localizer_logger",
James Kuszmaulecafe1f2024-02-27 20:29:53 -0800392 "executable_name": "localizer_logger",
Niko Sohmers3860f8a2024-01-12 21:05:19 -0800393 "user": "pi",
394 "nodes": [
395 "imu"
396 ]
397 },
398 {
Austin Schuhc41249a2024-02-28 20:58:12 -0800399 "name": "imu_can_logger",
Maxwell Henderson0604e6f2024-01-15 15:24:44 -0800400 "executable_name": "can_logger",
Austin Schuhd8362d52024-03-16 12:59:37 -0700401 "args": [
Austin Schuh206e2ec2024-03-16 13:13:02 -0700402 "--priority=59",
Austin Schuhd8362d52024-03-16 12:59:37 -0700403 "--affinity=5"
404 ],
Maxwell Henderson0604e6f2024-01-15 15:24:44 -0800405 "nodes": [
406 "imu"
407 ]
408 },
Maxwell Henderson4f35c832024-02-11 15:40:30 -0800409 // TODO(max): Update the channel value with whatever channel the IMU is on.
410 {
411 "name": "can_translator",
412 "executable_name": "can_translator",
413 "args": [
James Kuszmaul8a8e6002024-03-02 21:38:03 -0800414 "--channel=/can/cana"
Maxwell Henderson4f35c832024-02-11 15:40:30 -0800415 ],
416 "nodes": [
417 "imu"
418 ]
419 },
Maxwell Henderson0604e6f2024-01-15 15:24:44 -0800420 {
Maxwell Henderson87b1e6c2024-02-11 23:40:05 -0800421 "name": "dual_imu_blender",
422 "executable_name": "dual_imu_blender",
423 "nodes": [
424 "imu"
425 ]
426 },
427 {
Niko Sohmers3860f8a2024-01-12 21:05:19 -0800428 "name": "web_proxy",
429 "executable_name": "web_proxy_main",
430 "args": [
431 "--min_ice_port=5800",
432 "--max_ice_port=5810"
433 ],
434 "user": "pi",
435 "nodes": [
436 "imu"
437 ]
438 },
439 {
440 "name": "foxglove_websocket",
441 "user": "pi",
442 "nodes": [
443 "imu"
444 ]
445 },
446 {
447 "name": "constants_sender",
448 "autorestart": false,
449 "user": "pi",
450 "nodes": [
451 "imu"
452 ]
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800453 },
454 {
455 "name": "image_logger",
456 "executable_name": "image_logger",
457 "args": [
458 "--rotate_every",
459 "30.0",
460 "--direct",
461 "--flush_size=4194304"
462 ],
463 "user": "pi",
464 "nodes": [
465 "imu"
466 ]
467 },
468 {
469 "name": "foxglove_websocket",
470 "user": "pi",
471 "nodes": [
472 "imu"
473 ]
474 },
475 {
476 "name": "foxglove_image_converter0",
477 "executable_name": "foxglove_image_converter",
478 "user": "pi",
479 "args": [
480 "--channel", "/camera0"
481 ],
482 "nodes": [
483 "imu"
484 ]
485 },
486 {
487 "name": "foxglove_image_converter1",
488 "executable_name": "foxglove_image_converter",
489 "user": "pi",
490 "args": [
491 "--channel", "/camera1"
492 ],
493 "nodes": [
494 "imu"
495 ]
496 },
497 {
498 "name": "constants_sender",
499 "autorestart": false,
500 "user": "pi",
501 "nodes": [
502 "imu"
503 ]
504 },
505 {
Stephan Pleines7463f602024-04-03 20:16:54 -0700506 "name": "argus_monitor_imu",
507 "executable_name": "argus_monitor",
508 "args": [
509 "/imu/camera0",
510 "frc971.vision.TargetMap",
511 "/imu/camera1",
512 "frc971.vision.TargetMap",
513 ],
514 "user": "pi",
515 "nodes": [
516 "imu"
517 ]
518 },
519 {
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800520 "name": "argus_camera0",
521 "executable_name": "argus_camera",
522 "args": [
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800523 "--camera=0",
Austin Schuhc41249a2024-02-28 20:58:12 -0800524 "--channel=/camera0"
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800525 ],
526 "user": "pi",
527 "nodes": [
528 "imu"
529 ]
530 },
531 {
532 "name": "argus_camera1",
533 "executable_name": "argus_camera",
534 "args": [
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800535 "--camera=1",
Austin Schuhc41249a2024-02-28 20:58:12 -0800536 "--channel=/camera1"
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800537 ],
538 "user": "pi",
539 "nodes": [
540 "imu"
541 ]
542 },
543 {
544 "name": "apriltag_detector0",
545 "executable_name": "apriltag_detector",
546 "args": [
Austin Schuhc41249a2024-02-28 20:58:12 -0800547 "--channel=/camera0"
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800548 ],
549 "user": "pi",
550 "nodes": [
551 "imu"
552 ]
553 },
554 {
555 "name": "apriltag_detector1",
556 "executable_name": "apriltag_detector",
557 "args": [
Austin Schuhc41249a2024-02-28 20:58:12 -0800558 "--channel=/camera1"
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800559 ],
560 "user": "pi",
561 "nodes": [
562 "imu"
563 ]
Niko Sohmers3860f8a2024-01-12 21:05:19 -0800564 }
565 ],
566 "maps": [
567 {
568 "match": {
569 "name": "/constants*",
570 "source_node": "imu"
571 },
572 "rename": {
573 "name": "/imu/constants"
574 }
575 },
576 {
577 "match": {
578 "name": "/aos*",
579 "source_node": "imu"
580 },
581 "rename": {
582 "name": "/imu/aos"
583 }
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800584 },
585 {
586 "match": {
587 "name": "/camera*",
588 "source_node": "imu"
589 },
590 "rename": {
Maxwell Henderson3279bc52024-03-01 09:50:53 -0800591 "name": "/imu/camera"
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800592 }
Tushar Pankaj47313c12024-03-16 17:03:53 -0700593 },
594 {
595 "match": {
596 "name": "/hardware_monitor*",
597 "source_node": "imu"
598 },
599 "rename": {
600 "name": "/imu/hardware_monitor"
601 }
Niko Sohmers3860f8a2024-01-12 21:05:19 -0800602 }
603 ],
604 "nodes": [
605 {
606 "name": "imu",
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800607 "hostname": "orin2",
Niko Sohmers3860f8a2024-01-12 21:05:19 -0800608 "hostnames": [
Maxwell Henderson8ba07f92024-02-27 18:54:00 -0800609 "orin-971-2",
610 "orin-7971-2",
611 "orin-8971-2",
612 "orin-9971-2"
Niko Sohmers3860f8a2024-01-12 21:05:19 -0800613 ],
614 "port": 9971
615 },
616 {
617 "name": "roborio"
Jim Ostrowski855b7442024-01-20 18:03:09 -0800618 },
619 {
620 "name": "orin1"
Austin Schuhc41249a2024-02-28 20:58:12 -0800621 }
Niko Sohmers3860f8a2024-01-12 21:05:19 -0800622 ]
623}