openc3-cosmos-tool-docs 5.12.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (432) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE.txt +729 -0
  3. data/README.md +42 -0
  4. data/Rakefile +42 -0
  5. data/plugin.txt +7 -0
  6. data/tools/docs/404.html +16 -0
  7. data/tools/docs/CNAME +1 -0
  8. data/tools/docs/assets/css/styles.7bc79028.css +1 -0
  9. data/tools/docs/assets/images/add_packet-f318d0e92e8a13bd56331350aa341c88c8b12f2c54a4424f6e287817f22fb327.png +0 -0
  10. data/tools/docs/assets/images/architecture-b78f12eba076a0c07af7abdd9dd4187c59aa6b4f5c51b47ad03f73e9f98a6ed6.png +0 -0
  11. data/tools/docs/assets/images/autonomic-3d6d152f700c8fc1878d0f952d013ace31fccd7872d28587dc761610a0959e9c.png +0 -0
  12. data/tools/docs/assets/images/bucket_explorer-983c087ee3bdcf8626219e782620b6c580fd82bfe2e8b0c662a0f90cdca43838.png +0 -0
  13. data/tools/docs/assets/images/calendar-9fbd635cf3df1ba684bb0c1ebc4f6ad34991efc582e9fd07820c8b74cbb66aa1.png +0 -0
  14. data/tools/docs/assets/images/checks_rb-a6049cdd99613cea2ee12d76fcfe798ff05270e39d208e93d37da7347049b2b3.png +0 -0
  15. data/tools/docs/assets/images/cmd_tlm_server-313e3f64afc0e374d9d28b46364235d7b793001f84690fc0ae90e1eefdd9142d.png +0 -0
  16. data/tools/docs/assets/images/command_sender-a0b113b65368263529d0f8f2d93276a0a44ed81af0d0100f56379346ba592928.png +0 -0
  17. data/tools/docs/assets/images/commands-3608d5c856fd34e771d1f9e69f9f449f52929249bdf4f0e7feed0aa2bd2d9fd7.png +0 -0
  18. data/tools/docs/assets/images/connecting-6e453f3d99800d4cb8fdc78f5b8fce1e8cf1bb04840a29dec7c5caefd07c004f.png +0 -0
  19. data/tools/docs/assets/images/data_extractor-62c5b1743ba9dfdff2e393bcbdf863c36effc5ef5319d845cfd17186bd757bca.png +0 -0
  20. data/tools/docs/assets/images/data_viewer-8c547cb5ad2ebd179aac5e46c2f4c147889ebad53a5359a5e6b6c580de7184fe.png +0 -0
  21. data/tools/docs/assets/images/date_chooser-10f7b740b9acc76604e5dc86fe409b6b777abe0fb3fa5ebf8f47cb1ac58b9676.png +0 -0
  22. data/tools/docs/assets/images/debug-04088348cc04bb8e1a1063fc44920dc8e39616840ef4b09a36c823f185c28669.png +0 -0
  23. data/tools/docs/assets/images/delete_all_mouseover-06083f3d3d712d39f21bc5eda45adbfff449732a2061e53cb1a0baf6c5f5d4b8.png +0 -0
  24. data/tools/docs/assets/images/delete_modified-a7ec0ceb61c37398d57fcecf11ebe2453ebd0110be6cfc960a5073a13a557638.png +0 -0
  25. data/tools/docs/assets/images/edit_all_items-2c57aff19d3b1ce52149c37f50dcaad8c30baa0c9931fdc629f1d163bb56ce96.png +0 -0
  26. data/tools/docs/assets/images/edit_all_mouseover-f6646df5320045ee10d4c0a15d0349fed6ede075f9cea6f9e449b3785c4f4f8d.png +0 -0
  27. data/tools/docs/assets/images/edit_graph-4ca61635376fae26cf5eb82fb9fd803f1a51c4d3584aaf9833a270b7916bf531.png +0 -0
  28. data/tools/docs/assets/images/edit_screen-5724ae13958c1631b3c187cf7cdb6dc9672ecd71f8b0786ac17c0266001edac3.png +0 -0
  29. data/tools/docs/assets/images/edit_temp1-7446e7c5b7869ccc9ddd467779fa86f44301a5e5896751b016a527587c483cb2.png +0 -0
  30. data/tools/docs/assets/images/file_menu-2fe13872737c0f3fef84ba5b58b80b609082733acce536ec1f56910c36f68299.png +0 -0
  31. data/tools/docs/assets/images/file_open-319761fd383fc513b3689ef0a7498c73ce9459a3967c8a395cc2da07c89240d0.png +0 -0
  32. data/tools/docs/assets/images/file_save_as-44468ed6a48bea3bc4fdd8f50d802569e4582b453e5bf946bfdcba400030d499.png +0 -0
  33. data/tools/docs/assets/images/four_graphs-826cf8145338fa46e037556df94c59aeb4448330b601953daa94c89de8494cfd.png +0 -0
  34. data/tools/docs/assets/images/graph_min_max-80a2bd83230c71b00ba9d6da24b8c32a09e4983976cdbf32c33d2680b534b106.png +0 -0
  35. data/tools/docs/assets/images/graph_temp1-de937a79b314cf856b783c936d2460a6c942bdd45e4d9b3fe488957df5bfa9bc.png +0 -0
  36. data/tools/docs/assets/images/graph_temp1_temp2-e96370f7d73a6cb68beaa92bcaaf18b72e6619ce948fe835762cca1048efbd18.png +0 -0
  37. data/tools/docs/assets/images/graph_temp1_time-fec5e99e3cc05ea87208abe9c4b66b63b7497bbefee55f65d034417e966b1c46.png +0 -0
  38. data/tools/docs/assets/images/handbooks-1d301c83c80a7cb96c548006f5139fe8ec967ed10a49df0142b37328cd987f33.png +0 -0
  39. data/tools/docs/assets/images/ignored-1e20d4ffe7fd88ffab610340957b1176294269f985e8fdb20a9af07d7a78215f.png +0 -0
  40. data/tools/docs/assets/images/inst_clear-5ecb859f06f14d91d2ebba27e5a7848d6393db5ad2357f95c12e776c45f6bc64.png +0 -0
  41. data/tools/docs/assets/images/inst_collect-4f4e453a6521b779e10c4d2be6a8b1acf15fcb083af0164b0df1de27ca250132.png +0 -0
  42. data/tools/docs/assets/images/inst_collect_hazardous-3aeabedb96bf114b4eb56b6b2ee7bcc601302ec8905a82a16c47ae7870f97978.png +0 -0
  43. data/tools/docs/assets/images/inst_collect_hazardous_history-952a6e6ff2fb1b5fdf2c6b3d84a3ccf9e303eeb310f35514dc4a6e95f2a7420e.png +0 -0
  44. data/tools/docs/assets/images/inst_collect_sent-0de429f724264ce8c52a6cb22d4bbb96f14e22b559c091ff4375bb59f124a7a2.png +0 -0
  45. data/tools/docs/assets/images/inst_collect_sent_3-91cf4e053d246917964330ab93534a0a5eb878b652e7ea879effca7c4eaefbea.png +0 -0
  46. data/tools/docs/assets/images/interface_read_logic-0deef27c1d2fec9de2a3720a3c9ecedb21a00dca7aabd13da0b8815c037e4c26.png +0 -0
  47. data/tools/docs/assets/images/interface_write_logic-3360afe1b4af20b10dafba848a21e09baccaacc06e2ec8b6c132ac7a3c99e994.png +0 -0
  48. data/tools/docs/assets/images/interfaces-5622abf50e3df63980661a48216bf71187f38cb636bd512f48917ca4a425f083.png +0 -0
  49. data/tools/docs/assets/images/items_table-2fc1bb4d03a2348c4af7df442e13cee2f310cf455228005d76cbfda7a706aa53.png +0 -0
  50. data/tools/docs/assets/images/items_table_raw-c4d454679c4503ec35710dcee6be5cd1940984595145b333d8604bc505dfe291.png +0 -0
  51. data/tools/docs/assets/images/items_table_temp1-ea091eaf8005cea839800f4514f72f94e9664993111b935f33e7c5aa3061ca64.png +0 -0
  52. data/tools/docs/assets/images/limits_monitor-c58d70daea7586b93d5069b9df068a90cea5f7cf2e51a445f3162bf3f66db3d0.png +0 -0
  53. data/tools/docs/assets/images/list_view-926f42bc1e43283c61616b0cd8fd630cad8e15c9b7298acd98536842472e673b.png +0 -0
  54. data/tools/docs/assets/images/log-ba64fd307e53adafae55fcea7eb31829ee1aacdf4aafe8b40b270b793be3aa27.png +0 -0
  55. data/tools/docs/assets/images/log_messages-19c3ce9c7ff86e43d459cb6591df8c05d25e1390d857728cb462a57b9d3ccc69.png +0 -0
  56. data/tools/docs/assets/images/log_messages-2cfad0fd6f6f980f69b5564a4b7ecfecf3331c6256c78bcfb2b084970db305ca.png +0 -0
  57. data/tools/docs/assets/images/minimized-59d0d8d8a179ff0475787e87237b77b24d59d78826d43dbc1a554a51380eb37f.png +0 -0
  58. data/tools/docs/assets/images/minimized-a658bd8f2115d3f9a386844e886de770b23bbf9c0c8c55a4ca587cea67ec320e.png +0 -0
  59. data/tools/docs/assets/images/minio-150460ac77a50711835de6f0150d019000e5515afae0f3adfcdda8e891484f47.png +0 -0
  60. data/tools/docs/assets/images/mouseover-95b774047b3c2ca23a3bc645caf75d90511c378729dd9cfb781510a1452e09fe.png +0 -0
  61. data/tools/docs/assets/images/new_screen-295720ec60219194c8c8dd64c755e8a188cc4a68c2b6cf66197b54514644d52a.png +0 -0
  62. data/tools/docs/assets/images/notifications-5b32d6619542431027ddd67491eb445469fa2d16fa8352a2b0917b9298b7bbb2.png +0 -0
  63. data/tools/docs/assets/images/open_config-2e61415a3c2d7a4ce427cf325f3708dd4a761092b7dd0c869279c4354dc34ae4.png +0 -0
  64. data/tools/docs/assets/images/open_config-3cd3be1ce4560d9e72bb37b83dc830149091dec9a088c36187e0e72660c6ec34.png +0 -0
  65. data/tools/docs/assets/images/open_config-55ef2f241d02047b252bb8201742f99cffed5680d0e9eb46b3cb53a644ca3dc9.png +0 -0
  66. data/tools/docs/assets/images/open_config-f848a8b371ae0ec31776834148e9f978d9be94efef03534e5ca3a59c0ae3847f.png +0 -0
  67. data/tools/docs/assets/images/packet_viewer-19c1015cc704a98d1f6d90dd0dadc13188d25f1d5d2e838b7cfb226e8c173c7b.png +0 -0
  68. data/tools/docs/assets/images/plugin-variables-5bc00c744182c9a9591e84cb3bbb1c4deb53ff22e05f62ce1b807c26bed782e5.png +0 -0
  69. data/tools/docs/assets/images/processing-b0c50908284739a76e1bbcfcb3eb34dc9446f8716117cb0e9089ad9df53ebed6.png +0 -0
  70. data/tools/docs/assets/images/project-fe7ac90f3e45971fca8f1be94be9dbabe494bafe705e7f8f485676e9d96e47ea.png +0 -0
  71. data/tools/docs/assets/images/project_update-8e7de3b0658b95d4d9931eb52ff8bf339d633cbdc273ce096eb11ceb357c009e.png +0 -0
  72. data/tools/docs/assets/images/raw_command-759d93759a73a6a3dd7e30f89fc4d1a544dfb6f7355abfed03897d404279161d.png +0 -0
  73. data/tools/docs/assets/images/raw_telemetry-ffeb6b603f9a9abbe0cb77afaaeb4b4f07dfee479682a5c9661f85589a679049.png +0 -0
  74. data/tools/docs/assets/images/raw_tlm_logs-8dcba4f020b36f8efbb793271b70d40d9cad627196afaeb5bf6f3931ed53fa52.png +0 -0
  75. data/tools/docs/assets/images/reactions-dd4a8ebf22eed921a82a5478d23178c62e2cf944d295c2b9e3f4d7ce555b0fcc.png +0 -0
  76. data/tools/docs/assets/images/reload_file-8e26cd3e1bc1eab7bb6c046d9a6a8231fcd76e56682d819b1e549182890c6486.png +0 -0
  77. data/tools/docs/assets/images/reloaded-9effa15527244928ee503eb0c3a48cc5e82c07cfb5d5c4300eacfcab913069d1.png +0 -0
  78. data/tools/docs/assets/images/running_scripts-78bfd36a6c8c7167234e03bd188e974927c2beea1f730498583169a81639e7a3.png +0 -0
  79. data/tools/docs/assets/images/save_config-0ae36ac1f8114665f2558e936ba3b30e5cba2a16cc01d3494e14ed689b4637f7.png +0 -0
  80. data/tools/docs/assets/images/save_config-8b028134b07c70d6de019825cbb328623fc485d72aad9ba5b1980246b316fec2.png +0 -0
  81. data/tools/docs/assets/images/save_config-e4ed80276ebdc2c4eaf9aaeb859cff8aecb380b22da8c659741c31ca66914098.png +0 -0
  82. data/tools/docs/assets/images/save_config-e748a338526ffd8f9e49def5c0d15f8a80cd987f40d210ff6c6d4b61b713555c.png +0 -0
  83. data/tools/docs/assets/images/script_error-ce060b3086e7b466e51a276fb6b27245b4d042f07a60fe121b0071dd65a42075.png +0 -0
  84. data/tools/docs/assets/images/script_runner-7d7f01b90be962b4de46c20568727c55488eec5d9844823b53a262c9cfc470fa.png +0 -0
  85. data/tools/docs/assets/images/script_suite-42832d936f91417740b76a39841996c8e4a7cf5391dbb19abe9d7b31ab07dd7d.png +0 -0
  86. data/tools/docs/assets/images/select_item-f063106a8d836656496ba81e7e7428f51bd8ab95aebab0aa4eb6ad41ed42e026.png +0 -0
  87. data/tools/docs/assets/images/select_packet-0b6d5a2b012445ab2bf0fd3e1545f015cd7787280d05d2bccb0a9c9220102529.png +0 -0
  88. data/tools/docs/assets/images/select_packet-be9d63c49f898cccb73f9e4b2b39c4b5879cead34a8ab2ede0bb08e953498e95.png +0 -0
  89. data/tools/docs/assets/images/select_target-71ebcab6cbefafd8958939130861a75f7544e99a043d90fa0734ec2f983d835f.png +0 -0
  90. data/tools/docs/assets/images/simple_screen-3c9d6d2366c716c03a301396a4ce0ea418532890f349d9bc9ebb8be90983a6e6.png +0 -0
  91. data/tools/docs/assets/images/status-80010882300d2f1c453fbc4cb35bdb1f06d3db578266dda95c56ea7ec230ac72.png +0 -0
  92. data/tools/docs/assets/images/table_manager-9a5357ce536102bc1bb0c859be552f4ac82f62e538935a3c45a8e76d4f9744db.png +0 -0
  93. data/tools/docs/assets/images/targets-d15296b133787be4997c3d5e7d43eec9030831f1758508a8f6a71d40d04478ce.png +0 -0
  94. data/tools/docs/assets/images/telemetry-3f1169fc67b3d2427047ba66a9b2f3ddf71f61edf498ee70d14e78f0ef3c1e3c.png +0 -0
  95. data/tools/docs/assets/images/telemetry_grapher-a96b7e0101f5e377a73a186683e967e79d748c5dff2dfed6ec0afcea5694d7c8.png +0 -0
  96. data/tools/docs/assets/images/telemetry_viewer-be6ee576f1efceb39c2f744889deb4c18f571c4922c69d5d0e5f49a653776a46.png +0 -0
  97. data/tools/docs/assets/images/temp1_details-f0b6e62bc28da18febacc936112735e1dbd5718ef675668f04d8b3e060d7f87a.png +0 -0
  98. data/tools/docs/assets/images/time_chooser-e4ca0705d5b97c3056b0de3ab7f71f8091482b9b2e8904e69866a43ce4e616f2.png +0 -0
  99. data/tools/docs/assets/images/timeline_lifecycle-0bd916dee06bf67936b043abfdbc4d5fdec7cc5a32a889ee6c05e9faf74f4c6a.png +0 -0
  100. data/tools/docs/assets/images/triggers-0b0b3f9cc2850c1b83b9a7aab6f8a936626fd847c3158e993e4baa0e64b38096.png +0 -0
  101. data/tools/docs/assets/images/two_full_height-7cf9d0bbdf0269ad85e312f6dcb77930e1e3c4319f9750968a9347fafcf26084.png +0 -0
  102. data/tools/docs/assets/images/two_full_width-db2d88c0e2e6fc417016f47e3bac0bf68374957d8fc014220f53870429ea1ef3.png +0 -0
  103. data/tools/docs/assets/images/view_portal-b2e5fef00be80f1551b965d170fc3cd8ed95597f0a1e475a8177ab2d306215f5.png +0 -0
  104. data/tools/docs/assets/images/view_portal_add-56f06135fc56f1fa85cbc22ea3b7ad52f311641aad25df08b6f4a6f979b30e3f.png +0 -0
  105. data/tools/docs/assets/js/019369f3.bb600de8.js +1 -0
  106. data/tools/docs/assets/js/058ffc22.ce27f074.js +1 -0
  107. data/tools/docs/assets/js/0686a885.5fe3bfd4.js +1 -0
  108. data/tools/docs/assets/js/078dbab0.0a98e0c9.js +1 -0
  109. data/tools/docs/assets/js/0f5d161c.3a7b00e4.js +1 -0
  110. data/tools/docs/assets/js/0ff569c9.930bab08.js +1 -0
  111. data/tools/docs/assets/js/103cc3be.451dd416.js +1 -0
  112. data/tools/docs/assets/js/1131.f9e1547d.js +1 -0
  113. data/tools/docs/assets/js/13196248.1be5ac81.js +1 -0
  114. data/tools/docs/assets/js/13c1b4e4.ad24c4f6.js +1 -0
  115. data/tools/docs/assets/js/15a39a64.4138456c.js +1 -0
  116. data/tools/docs/assets/js/2029.9e268a82.js +1 -0
  117. data/tools/docs/assets/js/2047b354.7995865f.js +1 -0
  118. data/tools/docs/assets/js/22b3ac48.73a6c979.js +1 -0
  119. data/tools/docs/assets/js/2846.a87f3fc4.js +1 -0
  120. data/tools/docs/assets/js/2923e883.0cbdcbc5.js +1 -0
  121. data/tools/docs/assets/js/3477.783e2e37.js +2 -0
  122. data/tools/docs/assets/js/3477.783e2e37.js.LICENSE.txt +61 -0
  123. data/tools/docs/assets/js/3dd7ef3b.8f77876c.js +1 -0
  124. data/tools/docs/assets/js/3df159b4.dded3e78.js +1 -0
  125. data/tools/docs/assets/js/40365d27.9322abd8.js +1 -0
  126. data/tools/docs/assets/js/411898ad.a1d949a2.js +1 -0
  127. data/tools/docs/assets/js/42170351.46c774f8.js +1 -0
  128. data/tools/docs/assets/js/43652efd.cbac4bc0.js +1 -0
  129. data/tools/docs/assets/js/5109.6a372217.js +1 -0
  130. data/tools/docs/assets/js/54d0d530.e9c8193b.js +1 -0
  131. data/tools/docs/assets/js/5bc719f6.fce76244.js +1 -0
  132. data/tools/docs/assets/js/5c6ce5ec.f909714f.js +1 -0
  133. data/tools/docs/assets/js/5e3ed378.cdfe0362.js +1 -0
  134. data/tools/docs/assets/js/5fe211ef.809c3f96.js +1 -0
  135. data/tools/docs/assets/js/6831b732.735c11e9.js +1 -0
  136. data/tools/docs/assets/js/696b4199.ff9185d0.js +1 -0
  137. data/tools/docs/assets/js/6b210247.248680ef.js +1 -0
  138. data/tools/docs/assets/js/6b65133b.2144fb1b.js +1 -0
  139. data/tools/docs/assets/js/6f92e431.608f28e7.js +1 -0
  140. data/tools/docs/assets/js/72c6d8a8.062b7650.js +1 -0
  141. data/tools/docs/assets/js/75e64983.d42f03f8.js +1 -0
  142. data/tools/docs/assets/js/7efc9fb0.6164fbad.js +1 -0
  143. data/tools/docs/assets/js/867640d5.28196e2c.js +1 -0
  144. data/tools/docs/assets/js/89e76475.5131b624.js +1 -0
  145. data/tools/docs/assets/js/8f7843ee.69e537b0.js +1 -0
  146. data/tools/docs/assets/js/9424f0b3.73086bed.js +1 -0
  147. data/tools/docs/assets/js/97535711.c7556831.js +1 -0
  148. data/tools/docs/assets/js/99581c43.30aef54d.js +1 -0
  149. data/tools/docs/assets/js/9d6e81d0.84fe3bb3.js +1 -0
  150. data/tools/docs/assets/js/9fb6059a.dc4760ab.js +1 -0
  151. data/tools/docs/assets/js/a182b3b3.25afec82.js +1 -0
  152. data/tools/docs/assets/js/a507c363.71a89240.js +1 -0
  153. data/tools/docs/assets/js/a677c089.2ec103f7.js +1 -0
  154. data/tools/docs/assets/js/a9987364.de63d165.js +1 -0
  155. data/tools/docs/assets/js/aa6b6c1b.6b24256f.js +1 -0
  156. data/tools/docs/assets/js/ada50b5c.1c75d3de.js +1 -0
  157. data/tools/docs/assets/js/b4596165.ab1c689f.js +1 -0
  158. data/tools/docs/assets/js/b6d70f94.ec27318b.js +1 -0
  159. data/tools/docs/assets/js/b9f60ba6.bb514133.js +1 -0
  160. data/tools/docs/assets/js/bd0034eb.0c60929d.js +1 -0
  161. data/tools/docs/assets/js/c24eae19.12176204.js +1 -0
  162. data/tools/docs/assets/js/cb8c3f08.762bb287.js +1 -0
  163. data/tools/docs/assets/js/cd879be4.3641a5cb.js +1 -0
  164. data/tools/docs/assets/js/d1b923aa.bf4b0c9e.js +1 -0
  165. data/tools/docs/assets/js/d24bf9b6.6ed3b576.js +1 -0
  166. data/tools/docs/assets/js/d370d7a7.28ef1aad.js +1 -0
  167. data/tools/docs/assets/js/d57a4b5d.017675ee.js +1 -0
  168. data/tools/docs/assets/js/d5d77c37.f472b18b.js +1 -0
  169. data/tools/docs/assets/js/d5f295fb.e008c3ec.js +1 -0
  170. data/tools/docs/assets/js/d797a795.9243eac2.js +1 -0
  171. data/tools/docs/assets/js/d7c988eb.2670948e.js +1 -0
  172. data/tools/docs/assets/js/d8ca4191.717db664.js +1 -0
  173. data/tools/docs/assets/js/d9b92eba.5eff70b2.js +1 -0
  174. data/tools/docs/assets/js/db8fa1d0.85784608.js +1 -0
  175. data/tools/docs/assets/js/dc5f7beb.120c148d.js +1 -0
  176. data/tools/docs/assets/js/e501b0d1.ae564e73.js +1 -0
  177. data/tools/docs/assets/js/f15615f1.3126a842.js +1 -0
  178. data/tools/docs/assets/js/fd886806.d2d0bdf4.js +1 -0
  179. data/tools/docs/assets/js/main.b5a535c2.js +2 -0
  180. data/tools/docs/assets/js/main.b5a535c2.js.LICENSE.txt +70 -0
  181. data/tools/docs/assets/js/runtime~main.e3a6c705.js +1 -0
  182. data/tools/docs/docs/configuration/command.html +40 -0
  183. data/tools/docs/docs/configuration/format.html +16 -0
  184. data/tools/docs/docs/configuration/interfaces.html +16 -0
  185. data/tools/docs/docs/configuration/plugins.html +17 -0
  186. data/tools/docs/docs/configuration/protocols.html +23 -0
  187. data/tools/docs/docs/configuration/ssl-tls.html +17 -0
  188. data/tools/docs/docs/configuration/table.html +30 -0
  189. data/tools/docs/docs/configuration/target.html +16 -0
  190. data/tools/docs/docs/configuration/telemetry-screens.html +36 -0
  191. data/tools/docs/docs/configuration/telemetry.html +16 -0
  192. data/tools/docs/docs/configuration.html +16 -0
  193. data/tools/docs/docs/development/curl.html +16 -0
  194. data/tools/docs/docs/development/developing.html +19 -0
  195. data/tools/docs/docs/development/host-install.html +16 -0
  196. data/tools/docs/docs/development/json-api.html +16 -0
  197. data/tools/docs/docs/development/log-structure.html +17 -0
  198. data/tools/docs/docs/development/roadmap.html +16 -0
  199. data/tools/docs/docs/development/streaming-api.html +18 -0
  200. data/tools/docs/docs/development/testing.html +16 -0
  201. data/tools/docs/docs/development.html +16 -0
  202. data/tools/docs/docs/getting-started/gettingstarted.html +16 -0
  203. data/tools/docs/docs/getting-started/installation.html +18 -0
  204. data/tools/docs/docs/getting-started/podman.html +18 -0
  205. data/tools/docs/docs/getting-started/requirements.html +16 -0
  206. data/tools/docs/docs/getting-started/upgrading.html +16 -0
  207. data/tools/docs/docs/getting-started.html +16 -0
  208. data/tools/docs/docs/guides/bridges.html +23 -0
  209. data/tools/docs/docs/guides/cfs.html +46 -0
  210. data/tools/docs/docs/guides/custom-widgets.html +16 -0
  211. data/tools/docs/docs/guides/little-endian-bitfields.html +16 -0
  212. data/tools/docs/docs/guides/local-mode.html +16 -0
  213. data/tools/docs/docs/guides/logging.html +16 -0
  214. data/tools/docs/docs/guides/monitoring.html +16 -0
  215. data/tools/docs/docs/guides/performance.html +16 -0
  216. data/tools/docs/docs/guides/raspberrypi.html +16 -0
  217. data/tools/docs/docs/guides/script-writing.html +18 -0
  218. data/tools/docs/docs/guides/scripting-api.html +17 -0
  219. data/tools/docs/docs/guides.html +16 -0
  220. data/tools/docs/docs/meta/contributing.html +20 -0
  221. data/tools/docs/docs/meta/philosophy.html +16 -0
  222. data/tools/docs/docs/meta/xtce.html +16 -0
  223. data/tools/docs/docs/meta.html +16 -0
  224. data/tools/docs/docs/privacy.html +23 -0
  225. data/tools/docs/docs/tools/autonomic.html +16 -0
  226. data/tools/docs/docs/tools/bucket-explorer.html +16 -0
  227. data/tools/docs/docs/tools/calendar.html +16 -0
  228. data/tools/docs/docs/tools/cmd-sender.html +16 -0
  229. data/tools/docs/docs/tools/cmd-tlm-server.html +17 -0
  230. data/tools/docs/docs/tools/data-extractor.html +16 -0
  231. data/tools/docs/docs/tools/data-viewer.html +16 -0
  232. data/tools/docs/docs/tools/handbooks.html +16 -0
  233. data/tools/docs/docs/tools/limits-monitor.html +16 -0
  234. data/tools/docs/docs/tools/packet-viewer.html +16 -0
  235. data/tools/docs/docs/tools/script-runner.html +16 -0
  236. data/tools/docs/docs/tools/table-manager.html +16 -0
  237. data/tools/docs/docs/tools/tlm-grapher.html +16 -0
  238. data/tools/docs/docs/tools/tlm-viewer.html +17 -0
  239. data/tools/docs/docs/tools.html +16 -0
  240. data/tools/docs/docs/v5/bridges/index.html +11 -0
  241. data/tools/docs/docs/v5/bucket-explorer/index.html +11 -0
  242. data/tools/docs/docs/v5/calendar/index.html +11 -0
  243. data/tools/docs/docs/v5/cfs/index.html +11 -0
  244. data/tools/docs/docs/v5/cmd-sender/index.html +11 -0
  245. data/tools/docs/docs/v5/cmd-tlm-server/index.html +11 -0
  246. data/tools/docs/docs/v5/command/index.html +11 -0
  247. data/tools/docs/docs/v5/contributing/index.html +11 -0
  248. data/tools/docs/docs/v5/custom-widgets/index.html +11 -0
  249. data/tools/docs/docs/v5/data-extractor/index.html +11 -0
  250. data/tools/docs/docs/v5/data-viewer/index.html +11 -0
  251. data/tools/docs/docs/v5/development/index.html +11 -0
  252. data/tools/docs/docs/v5/format/index.html +11 -0
  253. data/tools/docs/docs/v5/gettingstarted/index.html +11 -0
  254. data/tools/docs/docs/v5/handbooks/index.html +11 -0
  255. data/tools/docs/docs/v5/host-install/index.html +11 -0
  256. data/tools/docs/docs/v5/index.html +11 -0
  257. data/tools/docs/docs/v5/installation/index.html +11 -0
  258. data/tools/docs/docs/v5/interfaces/index.html +11 -0
  259. data/tools/docs/docs/v5/json-api/index.html +11 -0
  260. data/tools/docs/docs/v5/limits-monitor/index.html +11 -0
  261. data/tools/docs/docs/v5/little-endian-bitfields/index.html +11 -0
  262. data/tools/docs/docs/v5/local-mode/index.html +11 -0
  263. data/tools/docs/docs/v5/log-structure/index.html +11 -0
  264. data/tools/docs/docs/v5/logging/index.html +11 -0
  265. data/tools/docs/docs/v5/monitoring/index.html +11 -0
  266. data/tools/docs/docs/v5/packet-viewer/index.html +11 -0
  267. data/tools/docs/docs/v5/performance/index.html +11 -0
  268. data/tools/docs/docs/v5/philosophy/index.html +11 -0
  269. data/tools/docs/docs/v5/plugins/index.html +11 -0
  270. data/tools/docs/docs/v5/podman/index.html +11 -0
  271. data/tools/docs/docs/v5/protocols/index.html +11 -0
  272. data/tools/docs/docs/v5/raspberrypi/index.html +11 -0
  273. data/tools/docs/docs/v5/requirements/index.html +11 -0
  274. data/tools/docs/docs/v5/roadmap/index.html +11 -0
  275. data/tools/docs/docs/v5/script-runner/index.html +11 -0
  276. data/tools/docs/docs/v5/script-writing/index.html +11 -0
  277. data/tools/docs/docs/v5/scripting-api/index.html +11 -0
  278. data/tools/docs/docs/v5/ssl-tls/index.html +11 -0
  279. data/tools/docs/docs/v5/streaming-api/index.html +11 -0
  280. data/tools/docs/docs/v5/table/index.html +11 -0
  281. data/tools/docs/docs/v5/table-manager/index.html +11 -0
  282. data/tools/docs/docs/v5/target/index.html +11 -0
  283. data/tools/docs/docs/v5/telemetry/index.html +11 -0
  284. data/tools/docs/docs/v5/telemetry-screens/index.html +11 -0
  285. data/tools/docs/docs/v5/testing/index.html +11 -0
  286. data/tools/docs/docs/v5/tlm-grapher/index.html +11 -0
  287. data/tools/docs/docs/v5/tlm-viewer/index.html +11 -0
  288. data/tools/docs/docs/v5/tools/index.html +11 -0
  289. data/tools/docs/docs/v5/upgrading/index.html +11 -0
  290. data/tools/docs/docs/v5/xtce/index.html +11 -0
  291. data/tools/docs/docs.html +25 -0
  292. data/tools/docs/img/BCT.png +0 -0
  293. data/tools/docs/img/OpenC3.png +0 -0
  294. data/tools/docs/img/article-footer.png +0 -0
  295. data/tools/docs/img/ball.jpg +0 -0
  296. data/tools/docs/img/black_logo.svg +25 -0
  297. data/tools/docs/img/captech.gif +0 -0
  298. data/tools/docs/img/docusaurus-social-card.jpg +0 -0
  299. data/tools/docs/img/docusaurus.png +0 -0
  300. data/tools/docs/img/favicon.png +0 -0
  301. data/tools/docs/img/footer-logo.png +0 -0
  302. data/tools/docs/img/interface_read_logic.png +0 -0
  303. data/tools/docs/img/interface_write_logic.png +0 -0
  304. data/tools/docs/img/johnh.gif +0 -0
  305. data/tools/docs/img/lockheed.png +0 -0
  306. data/tools/docs/img/logo.svg +7 -0
  307. data/tools/docs/img/nasa.gif +0 -0
  308. data/tools/docs/img/sdlusu.gif +0 -0
  309. data/tools/docs/img/v5/architecture.png +0 -0
  310. data/tools/docs/img/v5/autonomic/autonomic.png +0 -0
  311. data/tools/docs/img/v5/autonomic/reactions.png +0 -0
  312. data/tools/docs/img/v5/autonomic/triggers.png +0 -0
  313. data/tools/docs/img/v5/bucket_explorer/bucket_explorer.png +0 -0
  314. data/tools/docs/img/v5/calendar/calendar.png +0 -0
  315. data/tools/docs/img/v5/calendar/list_view.png +0 -0
  316. data/tools/docs/img/v5/calendar/timeline_lifecycle.png +0 -0
  317. data/tools/docs/img/v5/cmd_tlm_server/cmd_tlm_server.png +0 -0
  318. data/tools/docs/img/v5/cmd_tlm_server/commands.png +0 -0
  319. data/tools/docs/img/v5/cmd_tlm_server/file_menu.png +0 -0
  320. data/tools/docs/img/v5/cmd_tlm_server/interfaces.png +0 -0
  321. data/tools/docs/img/v5/cmd_tlm_server/log_messages.png +0 -0
  322. data/tools/docs/img/v5/cmd_tlm_server/raw_command.png +0 -0
  323. data/tools/docs/img/v5/cmd_tlm_server/raw_telemetry.png +0 -0
  324. data/tools/docs/img/v5/cmd_tlm_server/routers.png +0 -0
  325. data/tools/docs/img/v5/cmd_tlm_server/status.png +0 -0
  326. data/tools/docs/img/v5/cmd_tlm_server/targets.png +0 -0
  327. data/tools/docs/img/v5/cmd_tlm_server/telemetry.png +0 -0
  328. data/tools/docs/img/v5/command_sender/command_sender.png +0 -0
  329. data/tools/docs/img/v5/command_sender/inst_clear.png +0 -0
  330. data/tools/docs/img/v5/command_sender/inst_collect.png +0 -0
  331. data/tools/docs/img/v5/command_sender/inst_collect_hazardous.png +0 -0
  332. data/tools/docs/img/v5/command_sender/inst_collect_hazardous_history.png +0 -0
  333. data/tools/docs/img/v5/command_sender/inst_collect_sent.png +0 -0
  334. data/tools/docs/img/v5/command_sender/inst_collect_sent_3.png +0 -0
  335. data/tools/docs/img/v5/command_sender/mode_menu.png +0 -0
  336. data/tools/docs/img/v5/contact/jason.png +0 -0
  337. data/tools/docs/img/v5/contact/ryan.jpeg +0 -0
  338. data/tools/docs/img/v5/data_extractor/data_extractor.png +0 -0
  339. data/tools/docs/img/v5/data_extractor/date_chooser.png +0 -0
  340. data/tools/docs/img/v5/data_extractor/delete_all_mouseover.png +0 -0
  341. data/tools/docs/img/v5/data_extractor/download.png +0 -0
  342. data/tools/docs/img/v5/data_extractor/edit_all_items.png +0 -0
  343. data/tools/docs/img/v5/data_extractor/edit_all_mouseover.png +0 -0
  344. data/tools/docs/img/v5/data_extractor/edit_temp1.png +0 -0
  345. data/tools/docs/img/v5/data_extractor/file_menu.png +0 -0
  346. data/tools/docs/img/v5/data_extractor/items_table.png +0 -0
  347. data/tools/docs/img/v5/data_extractor/items_table_raw.png +0 -0
  348. data/tools/docs/img/v5/data_extractor/items_table_temp1.png +0 -0
  349. data/tools/docs/img/v5/data_extractor/mode_menu.png +0 -0
  350. data/tools/docs/img/v5/data_extractor/open_config.png +0 -0
  351. data/tools/docs/img/v5/data_extractor/processing.png +0 -0
  352. data/tools/docs/img/v5/data_extractor/save_config.png +0 -0
  353. data/tools/docs/img/v5/data_extractor/select_item.png +0 -0
  354. data/tools/docs/img/v5/data_extractor/select_packet.png +0 -0
  355. data/tools/docs/img/v5/data_extractor/select_target.png +0 -0
  356. data/tools/docs/img/v5/data_extractor/time_chooser.png +0 -0
  357. data/tools/docs/img/v5/data_viewer/add_packet.png +0 -0
  358. data/tools/docs/img/v5/data_viewer/data_viewer.png +0 -0
  359. data/tools/docs/img/v5/data_viewer/file_menu.png +0 -0
  360. data/tools/docs/img/v5/data_viewer/open_config.png +0 -0
  361. data/tools/docs/img/v5/data_viewer/rename_tab.png +0 -0
  362. data/tools/docs/img/v5/data_viewer/save_config.png +0 -0
  363. data/tools/docs/img/v5/data_viewer/tab_right_click.png +0 -0
  364. data/tools/docs/img/v5/data_viewer/view_portal.png +0 -0
  365. data/tools/docs/img/v5/data_viewer/view_portal_add.png +0 -0
  366. data/tools/docs/img/v5/guides/local_mode/delete_modified.png +0 -0
  367. data/tools/docs/img/v5/guides/local_mode/minio.png +0 -0
  368. data/tools/docs/img/v5/guides/local_mode/project.png +0 -0
  369. data/tools/docs/img/v5/guides/local_mode/project_update.png +0 -0
  370. data/tools/docs/img/v5/guides/local_mode/reload_file.png +0 -0
  371. data/tools/docs/img/v5/guides/local_mode/reloaded.png +0 -0
  372. data/tools/docs/img/v5/guides/logging/browser.png +0 -0
  373. data/tools/docs/img/v5/guides/logging/log_messages.png +0 -0
  374. data/tools/docs/img/v5/guides/logging/notifications.png +0 -0
  375. data/tools/docs/img/v5/guides/logging/raw_tlm_logs.png +0 -0
  376. data/tools/docs/img/v5/guides/plugin-variables.png +0 -0
  377. data/tools/docs/img/v5/guides/simple_screen.png +0 -0
  378. data/tools/docs/img/v5/handbooks/handbooks.png +0 -0
  379. data/tools/docs/img/v5/limits_monitor/ignored.png +0 -0
  380. data/tools/docs/img/v5/limits_monitor/limits_monitor.png +0 -0
  381. data/tools/docs/img/v5/limits_monitor/log.png +0 -0
  382. data/tools/docs/img/v5/limits_monitor/mouseover.png +0 -0
  383. data/tools/docs/img/v5/navigation.png +0 -0
  384. data/tools/docs/img/v5/packet_viewer/file_menu.png +0 -0
  385. data/tools/docs/img/v5/packet_viewer/packet_viewer.png +0 -0
  386. data/tools/docs/img/v5/packet_viewer/select_packet.png +0 -0
  387. data/tools/docs/img/v5/packet_viewer/temp1_details.png +0 -0
  388. data/tools/docs/img/v5/packet_viewer/view_menu.png +0 -0
  389. data/tools/docs/img/v5/script_runner/checks_rb.png +0 -0
  390. data/tools/docs/img/v5/script_runner/connecting.png +0 -0
  391. data/tools/docs/img/v5/script_runner/debug.png +0 -0
  392. data/tools/docs/img/v5/script_runner/file_menu.png +0 -0
  393. data/tools/docs/img/v5/script_runner/file_open.png +0 -0
  394. data/tools/docs/img/v5/script_runner/file_save_as.png +0 -0
  395. data/tools/docs/img/v5/script_runner/running_scripts.png +0 -0
  396. data/tools/docs/img/v5/script_runner/script_error.png +0 -0
  397. data/tools/docs/img/v5/script_runner/script_menu.png +0 -0
  398. data/tools/docs/img/v5/script_runner/script_runner.png +0 -0
  399. data/tools/docs/img/v5/script_runner/script_suite.png +0 -0
  400. data/tools/docs/img/v5/table_manager/file_menu.png +0 -0
  401. data/tools/docs/img/v5/table_manager/table_manager.png +0 -0
  402. data/tools/docs/img/v5/telemetry_grapher/edit_graph.png +0 -0
  403. data/tools/docs/img/v5/telemetry_grapher/file_menu.png +0 -0
  404. data/tools/docs/img/v5/telemetry_grapher/four_graphs.png +0 -0
  405. data/tools/docs/img/v5/telemetry_grapher/graph_menu.png +0 -0
  406. data/tools/docs/img/v5/telemetry_grapher/graph_min_max.png +0 -0
  407. data/tools/docs/img/v5/telemetry_grapher/graph_temp1.png +0 -0
  408. data/tools/docs/img/v5/telemetry_grapher/graph_temp1_temp2.png +0 -0
  409. data/tools/docs/img/v5/telemetry_grapher/graph_temp1_time.png +0 -0
  410. data/tools/docs/img/v5/telemetry_grapher/grapher_controls.png +0 -0
  411. data/tools/docs/img/v5/telemetry_grapher/minimized.png +0 -0
  412. data/tools/docs/img/v5/telemetry_grapher/open_config.png +0 -0
  413. data/tools/docs/img/v5/telemetry_grapher/save_config.png +0 -0
  414. data/tools/docs/img/v5/telemetry_grapher/stop_start.png +0 -0
  415. data/tools/docs/img/v5/telemetry_grapher/telemetry_grapher.png +0 -0
  416. data/tools/docs/img/v5/telemetry_grapher/two_full_height.png +0 -0
  417. data/tools/docs/img/v5/telemetry_grapher/two_full_width.png +0 -0
  418. data/tools/docs/img/v5/telemetry_viewer/edit_screen.png +0 -0
  419. data/tools/docs/img/v5/telemetry_viewer/file_menu.png +0 -0
  420. data/tools/docs/img/v5/telemetry_viewer/minimized.png +0 -0
  421. data/tools/docs/img/v5/telemetry_viewer/new_screen.png +0 -0
  422. data/tools/docs/img/v5/telemetry_viewer/open_config.png +0 -0
  423. data/tools/docs/img/v5/telemetry_viewer/save_config.png +0 -0
  424. data/tools/docs/img/v5/telemetry_viewer/telemetry_viewer.png +0 -0
  425. data/tools/docs/index.html +16 -0
  426. data/tools/docs/lunr-index-1699630949575.json +1 -0
  427. data/tools/docs/lunr-index.json +1 -0
  428. data/tools/docs/markdown-page.html +16 -0
  429. data/tools/docs/search-doc-1699630949575.json +1 -0
  430. data/tools/docs/search-doc.json +1 -0
  431. data/tools/docs/sitemap.xml +1 -0
  432. metadata +477 -0
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[2038],{1782:(e,t,o)=>{o.r(t),o.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>u,frontMatter:()=>a,metadata:()=>s,toc:()=>p});var n=o(7896),r=(o(2784),o(876));const a={title:"Philosophy"},i=void 0,s={unversionedId:"meta/philosophy",id:"meta/philosophy",title:"Philosophy",description:"COSMOS is a C3 (Command, Control and Communication) system with the following primary goals:",source:"@site/docs/meta/philosophy.md",sourceDirName:"meta",slug:"/meta/philosophy",permalink:"/tools/docs/docs/meta/philosophy",draft:!1,editUrl:"https://github.com/OpenC3/cosmos/tree/main/docs.openc3.com/docs/meta/philosophy.md",tags:[],version:"current",frontMatter:{title:"Philosophy"},sidebar:"defaultSidebar",previous:{title:"Contributing",permalink:"/tools/docs/docs/meta/contributing"},next:{title:"XTCE Support",permalink:"/tools/docs/docs/meta/xtce"}},l={},p=[],c={toc:p},m="wrapper";function u(e){let{components:t,...o}=e;return(0,r.kt)(m,(0,n.Z)({},c,o,{components:t,mdxType:"MDXLayout"}),(0,r.kt)("p",null,"COSMOS is a C3 (Command, Control and Communication) system with the following primary goals:"),(0,r.kt)("ol",null,(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("p",{parentName:"li"},"Interface with Anything"),(0,r.kt)("p",{parentName:"li"},"COSMOS should be able to communicate with anything that provides a computer-to-computer interface, regardless of what the interface is. This means that COSMOS adapts to what other systems are doing and evolves over time. It does not publish an API that hardware must adhere to if it wants to communicate with COSMOS.")),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("p",{parentName:"li"},"Log Everything"),(0,r.kt)("p",{parentName:"li"},"All data that flows into and out of COSMOS is logged. This provides history as well as attribution for what happened when and why. Keeping accurate logs is an essential and critical aspect of COSMOS.")),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("p",{parentName:"li"},"Open Architecture and Source"),(0,r.kt)("p",{parentName:"li"},"Nothing about how COSMOS is implemented is meant to be secret or hidden, even in Enterprise Edition. In all editions, the source code for everything in COSMOS is provided and available for users to inspect or modify as needed. Never worry about an unsolvable problem or having to accept some detail that you don't like. This also opens the world to integrate anything they need into COSMOS without restriction or limitation.")),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("p",{parentName:"li"},"Be Modular"),(0,r.kt)("p",{parentName:"li"},"There are infinite number of things for COSMOS to connect to, but it is impossible to ship COSMOS with all the code it would need to talk to everything. For this reason, COSMOS is designed to be modular in all the places that matter.")),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("p",{parentName:"li"},"Use Configuration when Possible, and Code When Logic Is Needed"),(0,r.kt)("p",{parentName:"li"},"Configuration is great for making COSMOS as usable as possible by non-software engineers. It also shows where common patterns exist. However, configuration is horrible when logic or custom math are needed.")),(0,r.kt)("li",{parentName:"ol"},(0,r.kt)("p",{parentName:"li"},"Empower Developers"),(0,r.kt)("p",{parentName:"li"},"COSMOS is meant to be easy enough to be used by everyone, not just C2 software experts."))))}u.isMDXComponent=!0},876:(e,t,o)=>{o.d(t,{Zo:()=>c,kt:()=>h});var n=o(2784);function r(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e}function a(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,n)}return o}function i(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?a(Object(o),!0).forEach((function(t){r(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):a(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}function s(e,t){if(null==e)return{};var o,n,r=function(e,t){if(null==e)return{};var o,n,r={},a=Object.keys(e);for(n=0;n<a.length;n++)o=a[n],t.indexOf(o)>=0||(r[o]=e[o]);return r}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)o=a[n],t.indexOf(o)>=0||Object.prototype.propertyIsEnumerable.call(e,o)&&(r[o]=e[o])}return r}var l=n.createContext({}),p=function(e){var t=n.useContext(l),o=t;return e&&(o="function"==typeof e?e(t):i(i({},t),e)),o},c=function(e){var t=p(e.components);return n.createElement(l.Provider,{value:t},e.children)},m="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},d=n.forwardRef((function(e,t){var o=e.components,r=e.mdxType,a=e.originalType,l=e.parentName,c=s(e,["components","mdxType","originalType","parentName"]),m=p(o),d=r,h=m["".concat(l,".").concat(d)]||m[d]||u[d]||a;return o?n.createElement(h,i(i({ref:t},c),{},{components:o})):n.createElement(h,i({ref:t},c))}));function h(e,t){var o=arguments,r=t&&t.mdxType;if("string"==typeof e||r){var a=o.length,i=new Array(a);i[0]=d;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[m]="string"==typeof e?e:r,i[1]=s;for(var p=2;p<a;p++)i[p]=o[p];return n.createElement.apply(null,i)}return n.createElement.apply(null,o)}d.displayName="MDXCreateElement"}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[9960],{920:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>l,contentTitle:()=>i,default:()=>u,frontMatter:()=>r,metadata:()=>s,toc:()=>c});var o=n(7896),a=(n(2784),n(876));const r={sidebar_position:1,title:"Installation"},i=void 0,s={unversionedId:"getting-started/installation",id:"getting-started/installation",title:"Installation",description:"Installing OpenC3 COSMOS",source:"@site/docs/getting-started/installation.md",sourceDirName:"getting-started",slug:"/getting-started/installation",permalink:"/tools/docs/docs/getting-started/installation",draft:!1,editUrl:"https://github.com/OpenC3/cosmos/tree/main/docs.openc3.com/docs/getting-started/installation.md",tags:[],version:"current",sidebarPosition:1,frontMatter:{sidebar_position:1,title:"Installation"},sidebar:"defaultSidebar",previous:{title:"Getting Started",permalink:"/tools/docs/docs/getting-started"},next:{title:"Getting Started",permalink:"/tools/docs/docs/getting-started/gettingstarted"}},l={},c=[{value:"Installing OpenC3 COSMOS",id:"installing-openc3-cosmos",level:2},{value:"Installing OpenC3 COSMOS on Host Machines",id:"installing-openc3-cosmos-on-host-machines",level:2},{value:"PREREQUISITES",id:"prerequisites",level:3},{value:"CLONE PROJECT",id:"clone-project",level:3},{value:"CERTIFICATES",id:"certificates",level:3},{value:"RUN",id:"run",level:3},{value:"CONNECT",id:"connect",level:3},{value:"NEXT STEPS",id:"next-steps",level:3},{value:"Feedback",id:"feedback",level:3}],p={toc:c},d="wrapper";function u(e){let{components:t,...n}=e;return(0,a.kt)(d,(0,o.Z)({},p,n,{components:t,mdxType:"MDXLayout"}),(0,a.kt)("h2",{id:"installing-openc3-cosmos"},"Installing OpenC3 COSMOS"),(0,a.kt)("p",null,"The following sections describe how to get OpenC3 COSMOS installed on various operating systems. This document should help you setup you host machine to allow you to have a running version of COSMOS in no time."),(0,a.kt)("h2",{id:"installing-openc3-cosmos-on-host-machines"},"Installing OpenC3 COSMOS on Host Machines"),(0,a.kt)("h3",{id:"prerequisites"},"PREREQUISITES"),(0,a.kt)("p",null,"Install ",(0,a.kt)("a",{parentName:"p",href:"https://docs.docker.com/get-docker/"},"Docker")," and install ",(0,a.kt)("a",{parentName:"p",href:"https://docs.docker.com/compose/install/"},"Docker Compose"),"."),(0,a.kt)("ul",null,(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},"Minimum Resources allocated to Docker: 8GB RAM, 1 CPU, 80GB Disk")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},"Recommended Resources allocated to Docker: 16GB RAM, 2+ CPUs, 100GB Disk")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},"Docker on Windows with WSL2:"),(0,a.kt)("ul",{parentName:"li"},(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},"WSL2 consumes 50% of total memory on Windows or 8GB, whichever is less. However, on Windows builds before 20175 (use ",(0,a.kt)("inlineCode",{parentName:"p"},"winver")," to check) it consumes 80% of your total memory. This can have a negative effect on Windows performance!")),(0,a.kt)("li",{parentName:"ul"},(0,a.kt)("p",{parentName:"li"},"On Windows builds < 20175 or for more fine grained control, create C:","\\","Users","\\","\\<username",">","\\",(0,a.kt)("a",{parentName:"p",href:"https://docs.microsoft.com/en-us/windows/wsl/wsl-config"},".wslconfig"),". Suggested contents on a 32GB machine:"),(0,a.kt)("pre",{parentName:"li"},(0,a.kt)("code",{parentName:"pre"},"[wsl2]\nmemory=16GB\nswap=0\n")))))),(0,a.kt)("admonition",{title:"Important: Modify Docker Connection Timeouts",type:"caution"},(0,a.kt)("p",{parentName:"admonition"},'Docker by default will break idle (no data) connections after a period of 5 minutes. This "feature" will eventually cause you problems if you don\'t adjust the Docker settings. This may manifest as idle connections dropping or simplying failing to resume after data should have started flowing again. Find the file at C:',"\\","Users","\\","username","\\","AppData","\\","Roaming","\\","Docker","\\","settings.json on Windows or ~/Library/Group Containers/group.com.docker/settings.json on MacOS. Modify the value ",(0,a.kt)("inlineCode",{parentName:"p"},"vpnKitMaxPortIdleTime")," to change the timeout (recommend setting to 0). ",(0,a.kt)("strong",{parentName:"p"},"Note:")," 0 means no timeout (idle connections not dropped)")),(0,a.kt)("p",null,(0,a.kt)("strong",{parentName:"p"},"Note:")," As of December 2021 the COSMOS Docker containers are based on the Alpine Docker image."),(0,a.kt)("h3",{id:"clone-project"},"CLONE PROJECT"),(0,a.kt)("p",null,"Since the COSMOS 5.0.9 release we recommend using the project template to get started."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"}," git clone https://github.com/OpenC3/cosmos-project.git tutorial\n")),(0,a.kt)("admonition",{title:"Offline Installation",type:"info"}," ",(0,a.kt)("p",{style:{"margin-bottom":"20px"}},"If you need to install in an offline environment you should first see if you're able to directly use the COSMOS containers. If so you can first save the containers:")," ",(0,a.kt)("p",{style:{"margin-bottom":"20px"}},(0,a.kt)("code",null,"./openc3.sh util save"))," ",(0,a.kt)("p",{style:{"margin-bottom":"20px"}},"By default this will download the 'latest' images and create tar files in the 'tmp' directory which you can transfer to your offline environment. You can pass a release after 'save' to download a specific release (e.g. util save 5.0.9). Transfer the tar files to your offline environment's project 'tmp' dir and import them with:")," ",(0,a.kt)("p",{style:{"margin-bottom":"20px"}},(0,a.kt)("code",null,"./openc3.sh util load"))),(0,a.kt)("h3",{id:"certificates"},"CERTIFICATES"),(0,a.kt)("p",null,"The COSMOS containers are designed to work and be built in the presence of an SSL Decryption device. To support this a cacert.pem file can be placed at the base of the COSMOS 5 project that includes any certificates needed by your organization. ",(0,a.kt)("strong",{parentName:"p"},"Note"),": If you set the path to the ssl file in the ",(0,a.kt)("inlineCode",{parentName:"p"},"SSL_CERT_FILE")," environment variables the openc3 setup script will copy it and place it for the docker container to load."),(0,a.kt)("admonition",{title:"SSL Issues",type:"caution"},(0,a.kt)("p",{parentName:"admonition"},'Increasingly organizations are using some sort of SSL decryptor device which can cause curl and other command line tools like git to have SSL certificate problems. If installation fails with messages that involve "certificate", "SSL", "self-signed", or "secure" this is the problem. IT typically sets up browsers to work correctly but not command line applications. Note that the file extension might not be .pem, it could be .pem, crt, .ca-bundle, .cer, .p7b, .p7s, or potentially something else.'),(0,a.kt)("p",{parentName:"admonition"},"The workaround is to get a proper local certificate file from your IT department that can be used by tools like curl (for example mine is at C:\\Shared\\Ball.pem). Doesn't matter just somewhere with no spaces."),(0,a.kt)("p",{parentName:"admonition"},"Then set the following environment variables to that path (ie. C:\\Shared\\Ball.pem)"),(0,a.kt)("p",{parentName:"admonition"},"SSL_CERT_FILE",(0,a.kt)("br",null),"\nCURL_CA_BUNDLE",(0,a.kt)("br",null),"\nREQUESTS_CA_BUNDLE",(0,a.kt)("br",null)),(0,a.kt)("p",{parentName:"admonition"},"Here are some directions on environment variables in Windows: ",(0,a.kt)("a",{parentName:"p",href:"https://www.computerhope.com/issues/ch000549.htm"},"Windows Environment Variables")),(0,a.kt)("p",{parentName:"admonition"},"You will need to create new ones with the names above and set their value to the full path to the certificate file.")),(0,a.kt)("h3",{id:"run"},"RUN"),(0,a.kt)("p",null,"Run ",(0,a.kt)("inlineCode",{parentName:"p"},"openc3.bat run")," (Windows), or ",(0,a.kt)("inlineCode",{parentName:"p"},"./openc3.sh run")," (linux/Mac)."),(0,a.kt)("p",null,"Note, you can edit the .env file and change OPENC3_TAG to a specific release (e.g. 5.0.9) rather than 'latest'."),(0,a.kt)("p",null,"If you see an error indicating docker daemon is not running ensure Docker and Docker compose is installed and running. If it errors please try to run ",(0,a.kt)("inlineCode",{parentName:"p"},"docker --version")," or ",(0,a.kt)("inlineCode",{parentName:"p"},"docker-compose --version")," and try to run the start command again. If the error continues please include the version in your issue if you choose to create one."),(0,a.kt)("p",null,"Running ",(0,a.kt)("inlineCode",{parentName:"p"},"docker ps")," can help show the running containers."),(0,a.kt)("p",null,(0,a.kt)("inlineCode",{parentName:"p"},"openc3.*")," takes multiple arguments. Run with no arguments for help. An example run of openc3.sh with no arguments will show a usage guide."),(0,a.kt)("pre",null,(0,a.kt)("code",{parentName:"pre"},"./openc3.sh\nUsage: ./openc3.sh [cli, cliroot, start, stop, cleanup, run, util]\n* cli: run a cli command as the default user ('cli help' for more info)\n* cliroot: run a cli command as the root user ('cli help' for more info)\n* start: start the docker-compose openc3\n* stop: stop the running dockers for openc3\n* cleanup: cleanup network and volumes for openc3\n* run: run the prebuilt containers for openc3\n* util: various helper commands\n")),(0,a.kt)("h3",{id:"connect"},"CONNECT"),(0,a.kt)("p",null,"Connect a web browser to http://localhost:2900. Set the password to whatever you want."),(0,a.kt)("h3",{id:"next-steps"},"NEXT STEPS"),(0,a.kt)("p",null,"Continue to ",(0,a.kt)("a",{parentName:"p",href:"/tools/docs/docs/getting-started/gettingstarted"},"Getting Started"),"."),(0,a.kt)("hr",null),(0,a.kt)("h3",{id:"feedback"},"Feedback"),(0,a.kt)("admonition",{title:"Find a problem in the documentation?",type:"note"},(0,a.kt)("pre",{parentName:"admonition"},(0,a.kt)("code",{parentName:"pre"},'Please [create an issue](https://github.com/OpenC3/cosmos/issues/new/choose">create an issue) on\nGitHub describing what we can do to make it better.\n'))))}u.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>p,kt:()=>h});var o=n(2784);function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function s(e,t){if(null==e)return{};var n,o,a=function(e,t){if(null==e)return{};var n,o,a={},r=Object.keys(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||(a[n]=e[n]);return a}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(o=0;o<r.length;o++)n=r[o],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}var l=o.createContext({}),c=function(e){var t=o.useContext(l),n=t;return e&&(n="function"==typeof e?e(t):i(i({},t),e)),n},p=function(e){var t=c(e.components);return o.createElement(l.Provider,{value:t},e.children)},d="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return o.createElement(o.Fragment,{},t)}},m=o.forwardRef((function(e,t){var n=e.components,a=e.mdxType,r=e.originalType,l=e.parentName,p=s(e,["components","mdxType","originalType","parentName"]),d=c(n),m=a,h=d["".concat(l,".").concat(m)]||d[m]||u[m]||r;return n?o.createElement(h,i(i({ref:t},p),{},{components:n})):o.createElement(h,i({ref:t},p))}));function h(e,t){var n=arguments,a=t&&t.mdxType;if("string"==typeof e||a){var r=n.length,i=new Array(r);i[0]=m;var s={};for(var l in t)hasOwnProperty.call(t,l)&&(s[l]=t[l]);s.originalType=e,s[d]="string"==typeof e?e:a,i[1]=s;for(var c=2;c<r;c++)i[c]=n[c];return o.createElement.apply(null,i)}return o.createElement.apply(null,n)}m.displayName="MDXCreateElement"}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[3712],{9570:(e,t,a)=>{a.d(t,{Z:()=>g});var n=a(7896),l=a(2784),r=a(6277),o=a(5138),s=a(9450),c=a(9846),i=a(2896),d=a(8004),m=a(4198);function u(e){return l.createElement("svg",(0,n.Z)({viewBox:"0 0 24 24"},e),l.createElement("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"}))}const p={breadcrumbHomeIcon:"breadcrumbHomeIcon_JFrk"};function b(){const e=(0,m.Z)("/");return l.createElement("li",{className:"breadcrumbs__item"},l.createElement(i.Z,{"aria-label":(0,d.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e},l.createElement(u,{className:p.breadcrumbHomeIcon})))}const E={breadcrumbsContainer:"breadcrumbsContainer_zCmv"};function h(e){let{children:t,href:a,isLast:n}=e;const r="breadcrumbs__link";return n?l.createElement("span",{className:r,itemProp:"name"},t):a?l.createElement(i.Z,{className:r,href:a,itemProp:"item"},l.createElement("span",{itemProp:"name"},t)):l.createElement("span",{className:r},t)}function v(e){let{children:t,active:a,index:o,addMicrodata:s}=e;return l.createElement("li",(0,n.Z)({},s&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},{className:(0,r.Z)("breadcrumbs__item",{"breadcrumbs__item--active":a})}),t,l.createElement("meta",{itemProp:"position",content:String(o+1)}))}function g(){const e=(0,s.s1)(),t=(0,c.Ns)();return e?l.createElement("nav",{className:(0,r.Z)(o.k.docs.docBreadcrumbs,E.breadcrumbsContainer),"aria-label":(0,d.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"})},l.createElement("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},t&&l.createElement(b,null),e.map(((t,a)=>{const n=a===e.length-1;return l.createElement(v,{key:a,active:n,index:a,addMicrodata:!!t.href},l.createElement(h,{href:t.href,isLast:n},t.label))})))):null}},570:(e,t,a)=>{a.r(t),a.d(t,{default:()=>Q});var n=a(2784),l=a(5982),r=a(1661);const o=n.createContext(null);function s(e){let{children:t,content:a}=e;const l=function(e){return(0,n.useMemo)((()=>({metadata:e.metadata,frontMatter:e.frontMatter,assets:e.assets,contentTitle:e.contentTitle,toc:e.toc})),[e])}(a);return n.createElement(o.Provider,{value:l},t)}function c(){const e=(0,n.useContext)(o);if(null===e)throw new r.i6("DocProvider");return e}function i(){const{metadata:e,frontMatter:t,assets:a}=c();return n.createElement(l.d,{title:e.title,description:e.description,keywords:t.keywords,image:a.image??t.image})}var d=a(6277),m=a(6086),u=a(9243);function p(){const{metadata:e}=c();return n.createElement(u.Z,{previous:e.previous,next:e.next})}var b=a(6246),E=a(3362),h=a(5138),v=a(8004);function g(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:a}=e;return n.createElement(v.Z,{id:"theme.lastUpdated.atDate",description:"The words used to describe on which date a page has been last updated",values:{date:n.createElement("b",null,n.createElement("time",{dateTime:new Date(1e3*t).toISOString()},a))}}," on {date}")}function f(e){let{lastUpdatedBy:t}=e;return n.createElement(v.Z,{id:"theme.lastUpdated.byUser",description:"The words used to describe by who the page has been last updated",values:{user:n.createElement("b",null,t)}}," by {user}")}function _(e){let{lastUpdatedAt:t,formattedLastUpdatedAt:a,lastUpdatedBy:l}=e;return n.createElement("span",{className:h.k.common.lastUpdated},n.createElement(v.Z,{id:"theme.lastUpdated.lastUpdatedAtBy",description:"The sentence used to display when a page has been last updated, and by who",values:{atDate:t&&a?n.createElement(g,{lastUpdatedAt:t,formattedLastUpdatedAt:a}):"",byUser:l?n.createElement(f,{lastUpdatedBy:l}):""}},"Last updated{atDate}{byUser}"),!1)}var Z=a(7896);const N={iconEdit:"iconEdit_UohW"};function k(e){let{className:t,...a}=e;return n.createElement("svg",(0,Z.Z)({fill:"currentColor",height:"20",width:"20",viewBox:"0 0 40 40",className:(0,d.Z)(N.iconEdit,t),"aria-hidden":"true"},a),n.createElement("g",null,n.createElement("path",{d:"m34.5 11.7l-3 3.1-6.3-6.3 3.1-3q0.5-0.5 1.2-0.5t1.1 0.5l3.9 3.9q0.5 0.4 0.5 1.1t-0.5 1.2z m-29.5 17.1l18.4-18.5 6.3 6.3-18.4 18.4h-6.3v-6.2z"})))}function C(e){let{editUrl:t}=e;return n.createElement("a",{href:t,target:"_blank",rel:"noreferrer noopener",className:h.k.common.editThisPage},n.createElement(k,null),n.createElement(v.Z,{id:"theme.common.editThisPage",description:"The link label to edit the current page"},"Edit this page"))}var L=a(2896);const T={tag:"tag_qE9H",tagRegular:"tagRegular_aHXt",tagWithCount:"tagWithCount_UC8q"};function U(e){let{permalink:t,label:a,count:l}=e;return n.createElement(L.Z,{href:t,className:(0,d.Z)(T.tag,l?T.tagWithCount:T.tagRegular)},a,l&&n.createElement("span",null,l))}const w={tags:"tags_q74f",tag:"tag_lSC7"};function x(e){let{tags:t}=e;return n.createElement(n.Fragment,null,n.createElement("b",null,n.createElement(v.Z,{id:"theme.tags.tagsListLabel",description:"The label alongside a tag list"},"Tags:")),n.createElement("ul",{className:(0,d.Z)(w.tags,"padding--none","margin-left--sm")},t.map((e=>{let{label:t,permalink:a}=e;return n.createElement("li",{key:a,className:w.tag},n.createElement(U,{label:t,permalink:a}))}))))}const y={lastUpdated:"lastUpdated_T23F"};function A(e){return n.createElement("div",{className:(0,d.Z)(h.k.docs.docFooterTagsRow,"row margin-bottom--sm")},n.createElement("div",{className:"col"},n.createElement(x,e)))}function B(e){let{editUrl:t,lastUpdatedAt:a,lastUpdatedBy:l,formattedLastUpdatedAt:r}=e;return n.createElement("div",{className:(0,d.Z)(h.k.docs.docFooterEditMetaRow,"row")},n.createElement("div",{className:"col"},t&&n.createElement(C,{editUrl:t})),n.createElement("div",{className:(0,d.Z)("col",y.lastUpdated)},(a||l)&&n.createElement(_,{lastUpdatedAt:a,formattedLastUpdatedAt:r,lastUpdatedBy:l})))}function M(){const{metadata:e}=c(),{editUrl:t,lastUpdatedAt:a,formattedLastUpdatedAt:l,lastUpdatedBy:r,tags:o}=e,s=o.length>0,i=!!(t||a||r);return s||i?n.createElement("footer",{className:(0,d.Z)(h.k.docs.docFooter,"docusaurus-mt-lg")},s&&n.createElement(A,{tags:o}),i&&n.createElement(B,{editUrl:t,lastUpdatedAt:a,lastUpdatedBy:r,formattedLastUpdatedAt:l})):null}var I=a(9782),H=a(8954);const P={tocCollapsibleButton:"tocCollapsibleButton_htYj",tocCollapsibleButtonExpanded:"tocCollapsibleButtonExpanded_pAh7"};function S(e){let{collapsed:t,...a}=e;return n.createElement("button",(0,Z.Z)({type:"button"},a,{className:(0,d.Z)("clean-btn",P.tocCollapsibleButton,!t&&P.tocCollapsibleButtonExpanded,a.className)}),n.createElement(v.Z,{id:"theme.TOCCollapsible.toggleButtonLabel",description:"The label used by the button on the collapsible TOC component"},"On this page"))}const V={tocCollapsible:"tocCollapsible_O_Qc",tocCollapsibleContent:"tocCollapsibleContent_SlnY",tocCollapsibleExpanded:"tocCollapsibleExpanded_klrc"};function D(e){let{toc:t,className:a,minHeadingLevel:l,maxHeadingLevel:r}=e;const{collapsed:o,toggleCollapsed:s}=(0,I.u)({initialState:!0});return n.createElement("div",{className:(0,d.Z)(V.tocCollapsible,!o&&V.tocCollapsibleExpanded,a)},n.createElement(S,{collapsed:o,onClick:s}),n.createElement(I.z,{lazy:!0,className:V.tocCollapsibleContent,collapsed:o},n.createElement(H.Z,{toc:t,minHeadingLevel:l,maxHeadingLevel:r})))}const R={tocMobile:"tocMobile_tjDr"};function F(){const{toc:e,frontMatter:t}=c();return n.createElement(D,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:(0,d.Z)(h.k.docs.docTocMobile,R.tocMobile)})}var z=a(7545);function q(){const{toc:e,frontMatter:t}=c();return n.createElement(z.Z,{toc:e,minHeadingLevel:t.toc_min_heading_level,maxHeadingLevel:t.toc_max_heading_level,className:h.k.docs.docTocDesktop})}var O=a(3343),J=a(7133);function W(e){let{children:t}=e;const a=function(){const{metadata:e,frontMatter:t,contentTitle:a}=c();return t.hide_title||void 0!==a?null:e.title}();return n.createElement("div",{className:(0,d.Z)(h.k.docs.docMarkdown,"markdown")},a&&n.createElement("header",null,n.createElement(O.Z,{as:"h1"},a)),n.createElement(J.Z,null,t))}var Y=a(9570);const j={docItemContainer:"docItemContainer_Rv5Z",docItemCol:"docItemCol_YAwJ"};function G(e){let{children:t}=e;const a=function(){const{frontMatter:e,toc:t}=c(),a=(0,m.i)(),l=e.hide_table_of_contents,r=!l&&t.length>0;return{hidden:l,mobile:r?n.createElement(F,null):void 0,desktop:!r||"desktop"!==a&&"ssr"!==a?void 0:n.createElement(q,null)}}();return n.createElement("div",{className:"row"},n.createElement("div",{className:(0,d.Z)("col",!a.hidden&&j.docItemCol)},n.createElement(b.Z,null),n.createElement("div",{className:j.docItemContainer},n.createElement("article",null,n.createElement(Y.Z,null),n.createElement(E.Z,null),a.mobile,n.createElement(W,null,t),n.createElement(M,null)),n.createElement(p,null))),a.desktop&&n.createElement("div",{className:"col col--3"},a.desktop))}function Q(e){const t=`docs-doc-id-${e.content.metadata.unversionedId}`,a=e.content;return n.createElement(s,{content:e.content},n.createElement(l.FG,{className:t},n.createElement(i,null),n.createElement(G,null,n.createElement(a,null))))}},9243:(e,t,a)=>{a.d(t,{Z:()=>i});var n=a(7896),l=a(2784),r=a(8004),o=a(6277),s=a(2896);function c(e){const{permalink:t,title:a,subLabel:n,isNext:r}=e;return l.createElement(s.Z,{className:(0,o.Z)("pagination-nav__link",r?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t},n&&l.createElement("div",{className:"pagination-nav__sublabel"},n),l.createElement("div",{className:"pagination-nav__label"},a))}function i(e){const{previous:t,next:a}=e;return l.createElement("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,r.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"})},t&&l.createElement(c,(0,n.Z)({},t,{subLabel:l.createElement(r.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc"},"Previous")})),a&&l.createElement(c,(0,n.Z)({},a,{subLabel:l.createElement(r.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc"},"Next"),isNext:!0})))}},3362:(e,t,a)=>{a.d(t,{Z:()=>c});var n=a(2784),l=a(6277),r=a(8004),o=a(5138),s=a(2993);function c(e){let{className:t}=e;const a=(0,s.E)();return a.badge?n.createElement("span",{className:(0,l.Z)(t,o.k.docs.docVersionBadge,"badge badge--secondary")},n.createElement(r.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:a.label}},"Version: {versionLabel}")):null}},6246:(e,t,a)=>{a.d(t,{Z:()=>h});var n=a(2784),l=a(6277),r=a(5837),o=a(2896),s=a(8004),c=a(7409),i=a(5138),d=a(3855),m=a(2993);const u={unreleased:function(e){let{siteTitle:t,versionMetadata:a}=e;return n.createElement(s.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:n.createElement("b",null,a.label)}},"This is unreleased documentation for {siteTitle} {versionLabel} version.")},unmaintained:function(e){let{siteTitle:t,versionMetadata:a}=e;return n.createElement(s.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:n.createElement("b",null,a.label)}},"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.")}};function p(e){const t=u[e.versionMetadata.banner];return n.createElement(t,e)}function b(e){let{versionLabel:t,to:a,onClick:l}=e;return n.createElement(s.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:n.createElement("b",null,n.createElement(o.Z,{to:a,onClick:l},n.createElement(s.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label"},"latest version")))}},"For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).")}function E(e){let{className:t,versionMetadata:a}=e;const{siteConfig:{title:o}}=(0,r.Z)(),{pluginId:s}=(0,c.gA)({failfast:!0}),{savePreferredVersionName:m}=(0,d.J)(s),{latestDocSuggestion:u,latestVersionSuggestion:E}=(0,c.Jo)(s),h=u??(v=E).docs.find((e=>e.id===v.mainDocId));var v;return n.createElement("div",{className:(0,l.Z)(t,i.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert"},n.createElement("div",null,n.createElement(p,{siteTitle:o,versionMetadata:a})),n.createElement("div",{className:"margin-top--md"},n.createElement(b,{versionLabel:E.label,to:h.path,onClick:()=>m(E.name)})))}function h(e){let{className:t}=e;const a=(0,m.E)();return a.banner?n.createElement(E,{className:t,versionMetadata:a}):null}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[1358],{4701:(e,t,n)=>{n.r(t),n.d(t,{assets:()=>s,contentTitle:()=>r,default:()=>u,frontMatter:()=>a,metadata:()=>l,toc:()=>c});var i=n(7896),o=(n(2784),n(876));const a={title:"Local Mode"},r=void 0,l={unversionedId:"guides/local-mode",id:"guides/local-mode",title:"Local Mode",description:"Local Mode is a new feature in the 5.0.9 COSMOS release. It is intended to capture the configuration of an edited plugin so it can be configuration managed. It allows you to edit portions of a plugin (scripts and screens) locally in the editor of your choice and instantly have those changes appear in the COSMOS plugin. This avoids the plugin build / install cycle which is required when editing command and telemetry or interface definitions.",source:"@site/docs/guides/local-mode.md",sourceDirName:"guides",slug:"/guides/local-mode",permalink:"/tools/docs/docs/guides/local-mode",draft:!1,editUrl:"https://github.com/OpenC3/cosmos/tree/main/docs.openc3.com/docs/guides/local-mode.md",tags:[],version:"current",frontMatter:{title:"Local Mode"},sidebar:"defaultSidebar",previous:{title:"Little Endian Bitfields",permalink:"/tools/docs/docs/guides/little-endian-bitfields"},next:{title:"Logging",permalink:"/tools/docs/docs/guides/logging"}},s={},c=[{value:"Using Local Mode",id:"using-local-mode",level:2},{value:"Editing scripts",id:"editing-scripts",level:3},{value:"Disabling Local Mode",id:"disabling-local-mode",level:3},{value:"Configuration Management",id:"configuration-management",level:2}],d={toc:c},p="wrapper";function u(e){let{components:t,...a}=e;return(0,o.kt)(p,(0,i.Z)({},d,a,{components:t,mdxType:"MDXLayout"}),(0,o.kt)("p",null,"Local Mode is a new feature in the 5.0.9 COSMOS release. It is intended to capture the configuration of an edited plugin so it can be configuration managed. It allows you to edit portions of a plugin (scripts and screens) locally in the editor of your choice and instantly have those changes appear in the COSMOS plugin. This avoids the plugin build / install cycle which is required when editing command and telemetry or interface definitions."),(0,o.kt)("h2",{id:"using-local-mode"},"Using Local Mode"),(0,o.kt)("p",null,"In this tutorial we will use the COSMOS Demo as configured by the ",(0,o.kt)("a",{parentName:"p",href:"/tools/docs/docs/getting-started/installation"},"Installation Guide"),". You should have cloned a ",(0,o.kt)("a",{parentName:"p",href:"https://github.com/OpenC3/cosmos-project"},"cosmos-project")," and started it using ",(0,o.kt)("inlineCode",{parentName:"p"},"openc3.sh run"),"."),(0,o.kt)("p",null,"If you check the project directory you should see a ",(0,o.kt)("inlineCode",{parentName:"p"},"plugins/DEFAULT/openc3-cosmos-demo")," directory. This will contain both the gem that was installed and a ",(0,o.kt)("inlineCode",{parentName:"p"},"plugin_instance.json")," file. The ",(0,o.kt)("inlineCode",{parentName:"p"},"plugin_instance.json")," file captures the plugin.txt values when the plugin was installed. Note, all files in the plugins directory are meant to be configuration managed with the project. This ensures if you make local edits and check them in, another user can clone the project and get the exact same configuration. We will demonstrate this later."),(0,o.kt)("h3",{id:"editing-scripts"},"Editing scripts"),(0,o.kt)("admonition",{title:"Visual Studio Code",type:"info"},(0,o.kt)("p",{parentName:"admonition"},"This tutorial will use ",(0,o.kt)("a",{parentName:"p",href:"https://code.visualstudio.com"},"VS Code")," which is the editor used by the COSMOS developers.")),(0,o.kt)("p",null,"The most common use case for Local Mode is script development. Launch Script Runner and open the ",(0,o.kt)("inlineCode",{parentName:"p"},"INST/procedures/checks.rb")," file. If you run this script you'll notice that it has a few errors (by design) which prevent it from running to completion. Let's fix it! Comment out the second and fourth lines and save the script. You should now notice that Local Mode has saved a copy of the script to ",(0,o.kt)("inlineCode",{parentName:"p"},"plugins/targets_modified/INST/procedures/checks.rb"),"."),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"Project Layout",src:n(4678).Z,width:"926",height:"325"})),(0,o.kt)("p",null,"At this point Local Mode keeps these scripts in sync so we can edit in either place. Let's edit the local script by adding a simple comment at the top: ",(0,o.kt)("inlineCode",{parentName:"p"},"# This is a script"),". Now if we go back to Script Runner the changes have not ",(0,o.kt)("em",{parentName:"p"},"automatically")," appeared. However, there is a Reload button next to the filename that will refresh the file from the backend."),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"Project Layout",src:n(5772).Z,width:"845",height:"360"})),(0,o.kt)("p",null,"Clicking this reloads the file which has been synced into COSMOS and now we see our comment."),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"Project Layout",src:n(2300).Z,width:"536",height:"102"})),(0,o.kt)("p",null,"It's important not to delete this local file while in Local Mode or COSMOS will display a server error 500. If this happens you can open the Minio Console at http://localhost:2900/minio/ and browse to the file in question to download and restore it."),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"Project Layout",src:n(2231).Z,width:"1312",height:"442"})),(0,o.kt)("h3",{id:"disabling-local-mode"},"Disabling Local Mode"),(0,o.kt)("p",null,"If you want to disable Local Mode you can edit the .env file and delete the setting ",(0,o.kt)("inlineCode",{parentName:"p"},"OPENC3_LOCAL_MODE=1"),"."),(0,o.kt)("h2",{id:"configuration-management"},"Configuration Management"),(0,o.kt)("p",null,"It is recommended to configuration manage the entire project including the plugins directory. This will allow any user who starts COSMOS to launch an identical configuration. Plugins are created and updated with any modifications found in the targets_modified directory."),(0,o.kt)("p",null,"At some point you will probably want to release your local changes back to the plugin they originated from. Simply copy the entire targets_modified/TARGET directory back to the original plugin. At that point you can rebuild the plugin using the CLI."),(0,o.kt)("pre",null,(0,o.kt)("code",{parentName:"pre"},"openc3-cosmos-demo % ./openc3.sh cli rake build VERSION=1.0.1\n Successfully built RubyGem\n Name: openc3-cosmos-demo\n Version: 1.0.1\n File: openc3-cosmos-demo-1.0.1.gem\n")),(0,o.kt)("p",null,"Upgrade the plugin using the Admin Plugins tab and the Upgrade link. When you select your newly built plugin, COSMOS detects the existing changes and asks if you want to delete them. There is a stern warning attached because this will permanently remove these changes! Since we just moved over the changes and rebuilt the plugin we will check the box and INSTALL."),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"Project Layout",src:n(5363).Z,width:"1057",height:"583"})),(0,o.kt)("p",null,"When the new plugin is installed, the project's ",(0,o.kt)("inlineCode",{parentName:"p"},"plugins")," directory gets updated with the new plugin and everything under the targets_modified directory is removed because there are no modifications on a new install."),(0,o.kt)("p",null,(0,o.kt)("img",{alt:"Project Layout",src:n(8144).Z,width:"353",height:"305"})),(0,o.kt)("p",null,"Local Mode is a powerful way to develop scripts and screens on the local file system and automatically have them sync to COSMOS."))}u.isMDXComponent=!0},876:(e,t,n)=>{n.d(t,{Zo:()=>d,kt:()=>m});var i=n(2784);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,i)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){o(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function l(e,t){if(null==e)return{};var n,i,o=function(e,t){if(null==e)return{};var n,i,o={},a=Object.keys(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(i=0;i<a.length;i++)n=a[i],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var s=i.createContext({}),c=function(e){var t=i.useContext(s),n=t;return e&&(n="function"==typeof e?e(t):r(r({},t),e)),n},d=function(e){var t=c(e.components);return i.createElement(s.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return i.createElement(i.Fragment,{},t)}},h=i.forwardRef((function(e,t){var n=e.components,o=e.mdxType,a=e.originalType,s=e.parentName,d=l(e,["components","mdxType","originalType","parentName"]),p=c(n),h=o,m=p["".concat(s,".").concat(h)]||p[h]||u[h]||a;return n?i.createElement(m,r(r({ref:t},d),{},{components:n})):i.createElement(m,r({ref:t},d))}));function m(e,t){var n=arguments,o=t&&t.mdxType;if("string"==typeof e||o){var a=n.length,r=new Array(a);r[0]=h;var l={};for(var s in t)hasOwnProperty.call(t,s)&&(l[s]=t[s]);l.originalType=e,l[p]="string"==typeof e?e:o,r[1]=l;for(var c=2;c<a;c++)r[c]=n[c];return i.createElement.apply(null,r)}return i.createElement.apply(null,n)}h.displayName="MDXCreateElement"},5363:(e,t,n)=>{n.d(t,{Z:()=>i});const i=n.p+"assets/images/delete_modified-a7ec0ceb61c37398d57fcecf11ebe2453ebd0110be6cfc960a5073a13a557638.png"},2231:(e,t,n)=>{n.d(t,{Z:()=>i});const i=n.p+"assets/images/minio-150460ac77a50711835de6f0150d019000e5515afae0f3adfcdda8e891484f47.png"},4678:(e,t,n)=>{n.d(t,{Z:()=>i});const i=n.p+"assets/images/project-fe7ac90f3e45971fca8f1be94be9dbabe494bafe705e7f8f485676e9d96e47ea.png"},8144:(e,t,n)=>{n.d(t,{Z:()=>i});const i=n.p+"assets/images/project_update-8e7de3b0658b95d4d9931eb52ff8bf339d633cbdc273ce096eb11ceb357c009e.png"},5772:(e,t,n)=>{n.d(t,{Z:()=>i});const i=n.p+"assets/images/reload_file-8e26cd3e1bc1eab7bb6c046d9a6a8231fcd76e56682d819b1e549182890c6486.png"},2300:(e,t,n)=>{n.d(t,{Z:()=>i});const i=n.p+"assets/images/reloaded-9effa15527244928ee503eb0c3a48cc5e82c07cfb5d5c4300eacfcab913069d1.png"}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[4533],{655:(e,t,a)=>{a.r(t),a.d(t,{assets:()=>o,contentTitle:()=>i,default:()=>u,frontMatter:()=>r,metadata:()=>s,toc:()=>m});var n=a(7896),l=(a(2784),a(876));const r={sidebar_position:5,title:"Telemetry"},i=void 0,s={unversionedId:"configuration/telemetry",id:"configuration/telemetry",title:"Telemetry",description:"Telemetry Definition Files",source:"@site/docs/configuration/telemetry.md",sourceDirName:"configuration",slug:"/configuration/telemetry",permalink:"/tools/docs/docs/configuration/telemetry",draft:!1,editUrl:"https://github.com/OpenC3/cosmos/tree/main/docs.openc3.com/docs/configuration/telemetry.md",tags:[],version:"current",sidebarPosition:5,frontMatter:{sidebar_position:5,title:"Telemetry"},sidebar:"defaultSidebar",previous:{title:"Commands",permalink:"/tools/docs/docs/configuration/command"},next:{title:"Interfaces",permalink:"/tools/docs/docs/configuration/interfaces"}},o={},m=[{value:"Telemetry Definition Files",id:"telemetry-definition-files",level:2},{value:"ID Items",id:"id-items",level:3},{value:"Variable Sized Items",id:"variable-sized-items",level:3},{value:"Derived Items",id:"derived-items",level:3},{value:"Received Time and Packet Time",id:"received-time-and-packet-time",level:3},{value:"Example",id:"example",level:4},{value:"TELEMETRY",id:"telemetry",level:2},{value:"TELEMETRY Modifiers",id:"telemetry-modifiers",level:2},{value:"ITEM",id:"item",level:3},{value:"ITEM Modifiers",id:"item-modifiers",level:3},{value:"FORMAT_STRING",id:"format_string",level:4},{value:"UNITS",id:"units",level:4},{value:"DESCRIPTION",id:"description",level:4},{value:"META",id:"meta",level:4},{value:"OVERLAP",id:"overlap",level:4},{value:"KEY",id:"key",level:4},{value:"STATE",id:"state",level:4},{value:"READ_CONVERSION",id:"read_conversion",level:4},{value:"POLY_READ_CONVERSION",id:"poly_read_conversion",level:4},{value:"SEG_POLY_READ_CONVERSION",id:"seg_poly_read_conversion",level:4},{value:"GENERIC_READ_CONVERSION_START",id:"generic_read_conversion_start",level:4},{value:"GENERIC_READ_CONVERSION_END",id:"generic_read_conversion_end",level:4},{value:"LIMITS",id:"limits",level:4},{value:"LIMITS_RESPONSE",id:"limits_response",level:4},{value:"APPEND_ITEM",id:"append_item",level:3},{value:"ID_ITEM",id:"id_item",level:3},{value:"APPEND_ID_ITEM",id:"append_id_item",level:3},{value:"ARRAY_ITEM",id:"array_item",level:3},{value:"APPEND_ARRAY_ITEM",id:"append_array_item",level:3},{value:"SELECT_ITEM",id:"select_item",level:3},{value:"DELETE_ITEM",id:"delete_item",level:3},{value:"META",id:"meta-1",level:3},{value:"PROCESSOR",id:"processor",level:3},{value:"ALLOW_SHORT",id:"allow_short",level:3},{value:"HIDDEN",id:"hidden",level:3},{value:"ACCESSOR",id:"accessor",level:3},{value:"SELECT_TELEMETRY",id:"select_telemetry",level:2},{value:"LIMITS_GROUP",id:"limits_group",level:2},{value:"LIMITS_GROUP_ITEM",id:"limits_group_item",level:2},{value:"Example File",id:"example-file",level:2}],d={toc:m},p="wrapper";function u(e){let{components:t,...a}=e;return(0,l.kt)(p,(0,n.Z)({},d,a,{components:t,mdxType:"MDXLayout"}),(0,l.kt)("h2",{id:"telemetry-definition-files"},"Telemetry Definition Files"),(0,l.kt)("p",null,"Telemetry definition files define the telemetry packets that can be received and processed from COSMOS targets. One large file can be used to define the telemetry packets, or multiple files can be used at the user's discretion. Telemetry definition files are placed in the target's cmd_tlm directory and are processed alphabetically. Therefore if you have some telemetry files that depend on others, e.g. they override or extend existing telemetry, they must be named last. The easist way to do this is to add an extension to an existing file name. For example, if you already have tlm.txt you can create tlm_override.txt for telemetry that depends on the definitions in tlm.txt. Note that due to the way the ",(0,l.kt)("a",{parentName:"p",href:"http://www.asciitable.com/"},"ASCII Table")," is structured, files beginning with capital letters are processed before lower case letters."),(0,l.kt)("p",null,"When defining telemetry items you can choose from the following data types: INT, UINT, FLOAT, STRING, BLOCK. These correspond to integers, unsigned integers, floating point numbers, strings and binary blocks of data. Within COSMOS, the only difference between a STRING and BLOCK is when COSMOS reads a STRING type it stops reading when it encounters a null byte (0). This shows up when displaying the value in Packet Viewer or Tlm Viewer and in the output of Data Extractor. You should strive to store non-ASCII data inside BLOCK items and ASCII strings in STRING items."),(0,l.kt)("admonition",{title:"Printing Data",type:"info"},(0,l.kt)("p",{parentName:"admonition"},"Most data types can be printed in a COSMOS script simply by doing ",(0,l.kt)("code",null,'puts tlm("TGT PKT ITEM")'),". However, if the ITEM is a BLOCK data type and contains binary (non-ASCII) data then that won't work. COSMOS comes with a built-in method called ",(0,l.kt)("code",null,"formatted")," to help you view binary data. If ITEM is a BLOCK type containing binary try ",(0,l.kt)("code",null,'puts tlm("TGT PKT ITEM").formatted')," which will print the bytes out as hex.")),(0,l.kt)("h3",{id:"id-items"},"ID Items"),(0,l.kt)("p",null,"All packets require identification items so the incoming data can be matched to a packet structure. These items are defined using the ",(0,l.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/telemetry#id_item"},"ID_ITEM")," and ",(0,l.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/telemetry#append_id_item"},"APPEND_ID_ITEM"),". As data is read from the interface and refined by the protocol, the resulting packet is identified by matching all the ID fields. Note that ideally all packets in a particular target should use the exact same bit offset, bit size, and data type to identify. If this is not the case, you must set ",(0,l.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/target#tlm_unique_id_mode"},"TLM_UNIQUE_ID_MODE")," in the target.txt file which incurs a performance penalty on every packet identification."),(0,l.kt)("h3",{id:"variable-sized-items"},"Variable Sized Items"),(0,l.kt)("p",null,"COSMOS specifies a variable sized item with a bit size of 0. When a packet is identified, all other data that isn't explicitly defined will be put into the variable sized item. These items are typically used for packets containing memory dumps which vary in size depending on the number of bytes dumped. Note that there can only be one variable sized item per packet."),(0,l.kt)("h3",{id:"derived-items"},"Derived Items"),(0,l.kt)("p",null,"COSMOS has a concept of a derived item which is a telemetry item that doesn't actually exist in the binary data. Derived items are typically computed based on other telemetry items. COSMOS derived items are very similar to real items except they use the special DERIVED data type. Here is how a derived item might look in a telemetry definition."),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},'ITEM TEMP_AVERAGE 0 0 DERIVED "Average of TEMP1, TEMP2, TEMP3, TEMP4"\n')),(0,l.kt)("p",null,"Note the bit offset and bit size of 0 and the data type of DERIVED. For this reason DERIVED items should be declared using ITEM rather than APPEND_ITEM. They can be defined anywhere in the packet definition but are typically placed at the end. The ITEM definition must be followed by a CONVERSION keyword, e.g. ",(0,l.kt)("a",{parentName:"p",href:"/tools/docs/docs/configuration/telemetry#read_conversion"},"READ_CONVERSION"),", to generate the value."),(0,l.kt)("h3",{id:"received-time-and-packet-time"},"Received Time and Packet Time"),(0,l.kt)("p",null,"COSMOS automatically creates several telemetry items on every packet: PACKET_TIMESECONDS, PACKET_TIMEFORMATTED, RECEIVED_COUNT, RECEIVED_TIMEFORMATTED, and RECEIVED_TIMESECONDS."),(0,l.kt)("p",null,"RECEIVED_TIME is the time that COSMOS receives the packet. This is set by the interface which is connected to the target and is receiving the raw data. Once a packet has been created out of the raw data the time is set."),(0,l.kt)("p",null,"PACKET_TIME defaults to RECEIVED_TIME, but can be set as a derived item with a time object in the telemetry configuration file. This helps support stored telemetry packets so that they can be more reasonably handled by other COSMOS tools such as Telemetry Grapher and Data Extractor. You can set the 'stored' flag in your interface and the current value table is unaffected."),(0,l.kt)("p",null,"The ","_","TIMEFORMATTED items returns the date and time in a YYYY/MM/DD HH:MM:SS.sss format and the ","_","TIMESECONDS returns the Unix seconds of the time."),(0,l.kt)("h4",{id:"example"},"Example"),(0,l.kt)("p",null,"COSMOS provides a Unix time conversion class which returns a Ruby time object based on the number of seconds and (optionally) microseconds since the Unix epoch. Note: This returns a Ruby Time object and not a float or string!"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre"},'ITEM PACKET_TIME 0 0 DERIVED "Ruby time based on TIMESEC and TIMEUS"\n READ_CONVERSION unix_time_conversion.rb TIMESEC TIMEUS\n')),(0,l.kt)("p",null,"Definining PACKET_TIME allows the PACKET_TIMESECONDS and PACKET_TIMEFORMATTED to be calculated against an internal Packet time rather than the time COSMOS receives the packet."),(0,l.kt)("div",{style:{clear:"both"}}),(0,l.kt)("h1",{id:"telemetry-keywords"},"Telemetry Keywords"),(0,l.kt)("h2",{id:"telemetry"},"TELEMETRY"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Defines a new telemetry packet")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Target"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the target this telemetry packet is associated with"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Command"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of this telemetry packet. Also referred to as its mnemonic. Must be unique to telemetry packets in this target. Ideally will be as short and clear as possible."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Endianness"),(0,l.kt)("td",{parentName:"tr",align:null},"Indicates if the data in this packet is in Big Endian or Little Endian format",(0,l.kt)("br",null),(0,l.kt)("br",null),"Valid Values: ",(0,l.kt)("span",{class:"values"},"BIG_ENDIAN, LITTLE_ENDIAN")),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Description"),(0,l.kt)("td",{parentName:"tr",align:null},"Description of this telemetry packet which must be enclosed with quotes"),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},'TELEMETRY INST HEALTH_STATUS BIG_ENDIAN "Instrument health and status"\n')),(0,l.kt)("h2",{id:"telemetry-modifiers"},"TELEMETRY Modifiers"),(0,l.kt)("p",null,"The following keywords must follow a TELEMETRY keyword."),(0,l.kt)("h3",{id:"item"},"ITEM"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Defines a telemetry item in the current telemetry packet")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Name"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the telemety item. Must be unique within the packet."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Bit Offset"),(0,l.kt)("td",{parentName:"tr",align:null},"Bit offset into the telemetry packet of the Most Significant Bit of this item. May be negative to indicate on offset from the end of the packet. Always use a bit offset of 0 for derived item."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Bit Size"),(0,l.kt)("td",{parentName:"tr",align:null},"Bit size of this telemetry item. Zero or Negative values may be used to indicate that a string fills the packet up to the offset from the end of the packet specified by this value. If Bit Offset is 0 and Bit Size is 0 then this is a derived parameter and the Data Type must be set to 'DERIVED'."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Data Type"),(0,l.kt)("td",{parentName:"tr",align:null},"Data Type of this telemetry item",(0,l.kt)("br",null),(0,l.kt)("br",null),"Valid Values: ",(0,l.kt)("span",{class:"values"},"INT, UINT, FLOAT, STRING, BLOCK, DERIVED")),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Description"),(0,l.kt)("td",{parentName:"tr",align:null},"Description for this telemetry item which must be enclosed with quotes"),(0,l.kt)("td",{parentName:"tr",align:null},"False")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Endianness"),(0,l.kt)("td",{parentName:"tr",align:null},"Indicates if the item is to be interpreted in Big Endian or Little Endian format. See guide on ",(0,l.kt)("a",{parentName:"td",href:"/tools/docs/docs/guides/little-endian-bitfields"},"Little Endian Bitfields"),".",(0,l.kt)("br",null),(0,l.kt)("br",null),"Valid Values: ",(0,l.kt)("span",{class:"values"},"BIG_ENDIAN, LITTLE_ENDIAN")),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},'ITEM PKTID 112 16 UINT "Packet ID"\nITEM DATA 0 0 DERIVED "Derived data"\n')),(0,l.kt)("h3",{id:"item-modifiers"},"ITEM Modifiers"),(0,l.kt)("p",null,"The following keywords must follow a ITEM keyword."),(0,l.kt)("h4",{id:"format_string"},"FORMAT_STRING"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Adds printf style formatting")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Format"),(0,l.kt)("td",{parentName:"tr",align:null},"How to format using printf syntax. For example, '0x%0X' will display the value in hex."),(0,l.kt)("td",{parentName:"tr",align:null},"True")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},'FORMAT_STRING "0x%0X"\n')),(0,l.kt)("h4",{id:"units"},"UNITS"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Add displayed units")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Full Name"),(0,l.kt)("td",{parentName:"tr",align:null},"Full name of the units type, e.g. Celsius"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Abbreviated"),(0,l.kt)("td",{parentName:"tr",align:null},"Abbreviation for the units, e.g. C"),(0,l.kt)("td",{parentName:"tr",align:null},"True")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},"UNITS Celsius C\nUNITS Kilometers KM\n")),(0,l.kt)("h4",{id:"description"},"DESCRIPTION"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Override the defined description")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Value"),(0,l.kt)("td",{parentName:"tr",align:null},"The new description"),(0,l.kt)("td",{parentName:"tr",align:null},"True")))),(0,l.kt)("h4",{id:"meta"},"META"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Stores custom user metadata")),(0,l.kt)("p",null,"Meta data is user specific data that can be used by custom tools for various purposes. One example is to store additional information needed to generate source code header files."),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Meta Name"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the metadata to store"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Meta Values"),(0,l.kt)("td",{parentName:"tr",align:null},"One or more values to be stored for this Meta Name"),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},'META TEST "This parameter is for test purposes only"\n')),(0,l.kt)("h4",{id:"overlap"},"OVERLAP"),(0,l.kt)("div",{class:"right"},"(Since 4.4.1)"),"**This item is allowed to overlap other items in the packet**",(0,l.kt)("p",null,"If an item's bit offset overlaps another item, OpenC3 issues a warning. This keyword explicitly allows an item to overlap another and supresses the warning message."),(0,l.kt)("h4",{id:"key"},"KEY"),(0,l.kt)("div",{class:"right"},"(Since 5.0.10)"),"**Defines the key used to access this raw value in the packet.**",(0,l.kt)("p",null,"Keys are often JsonPath or XPath strings"),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Key string"),(0,l.kt)("td",{parentName:"tr",align:null},"The key to access this item"),(0,l.kt)("td",{parentName:"tr",align:null},"True")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},"KEY $.book.title\n")),(0,l.kt)("h4",{id:"state"},"STATE"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Defines a key/value pair for the current item")),(0,l.kt)("p",null,"Key value pairs allow for user friendly strings. For example, you might define states for ON = 1 and OFF = 0. This allows the word ON to be used rather than the number 1 when sending the telemetry item and allows for much greater clarity and less chance for user error. A catch all value of ANY applies to all other values not already defined as state values."),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Key"),(0,l.kt)("td",{parentName:"tr",align:null},"The string state name"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Value"),(0,l.kt)("td",{parentName:"tr",align:null},"The numerical state value or ANY to apply the state to all other values"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Color"),(0,l.kt)("td",{parentName:"tr",align:null},"The color the state should be displayed as",(0,l.kt)("br",null),(0,l.kt)("br",null),"Valid Values: ",(0,l.kt)("span",{class:"values"},"GREEN, YELLOW, RED")),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},'APPEND_ITEM ENABLE 32 UINT "Enable setting"\n STATE FALSE 0\n STATE TRUE 1\n STATE ERROR ANY # Match all other values to ERROR\nAPPEND_ITEM STRING 1024 STRING "String"\n STATE "NOOP" "NOOP" GREEN\n STATE "ARM LASER" "ARM LASER" YELLOW\n STATE "FIRE LASER" "FIRE LASER" RED\n')),(0,l.kt)("h4",{id:"read_conversion"},"READ_CONVERSION"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Applies a conversion to the current telemetry item")),(0,l.kt)("p",null,"Conversions are implemented in a custom Ruby file which should be located in the target's lib folder and required by the target's target.txt file (see REQUIRE). The class must require 'openc3/conversions/conversion' and inherit from Conversion. It must implement the initialize method if it takes extra parameters and must always implement the call method. The conversion factor is applied to the raw value in the telemetry packet before it is displayed to the user. The user still has the ability to see the raw unconverted value in a details dialog."),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Class Filename"),(0,l.kt)("td",{parentName:"tr",align:null},"The filename which contains the Ruby class. The filename must be named after the class such that the class is a CamelCase version of the underscored filename. For example, 'the_great_conversion.rb' should contain 'class TheGreatConversion'."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("td",{parentName:"tr",align:null},"Additional parameter values for the conversion which are passed to the class constructor."),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},"READ_CONVERSION the_great_conversion.rb 1000\n\nDefined in the_great_conversion.rb:\n\nrequire 'openc3/conversions/conversion'\nmodule OpenC3\n class TheGreatConversion < Conversion\n def initialize(multiplier)\n super()\n @multiplier = multiplier.to_f\n end\n def call(value, packet, buffer)\n return value * @multiplier\n end\n end\nend\n")),(0,l.kt)("h4",{id:"poly_read_conversion"},"POLY_READ_CONVERSION"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Adds a polynomial conversion factor to the current telemetry item")),(0,l.kt)("p",null,"The conversion factor is applied to raw value in the telemetry packet before it is displayed to the user. The user still has the ability to see the raw unconverted value in a details dialog."),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"C0"),(0,l.kt)("td",{parentName:"tr",align:null},"Coefficient"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Cx"),(0,l.kt)("td",{parentName:"tr",align:null},"Additional coefficient values for the conversion. Any order polynomial conversion may be used so the value of 'x' will vary with the order of the polynomial. Note that larger order polynomials take longer to process than shorter order polynomials, but are sometimes more accurate."),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},"POLY_READ_CONVERSION 10 0.5 0.25\n")),(0,l.kt)("h4",{id:"seg_poly_read_conversion"},"SEG_POLY_READ_CONVERSION"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Adds a segmented polynomial conversion factor to the current telemetry item")),(0,l.kt)("p",null,"This conversion factor is applied to the raw value in the telemetry packet before it is displayed to the user. The user still has the ability to see the raw unconverted value in a details dialog."),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Lower Bound"),(0,l.kt)("td",{parentName:"tr",align:null},"Defines the lower bound of the range of values that this segmented polynomial applies to. Is ignored for the segment with the smallest lower bound."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"C0"),(0,l.kt)("td",{parentName:"tr",align:null},"Coefficient"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Cx"),(0,l.kt)("td",{parentName:"tr",align:null},"Additional coefficient values for the conversion. Any order polynomial conversion may be used so the value of 'x' will vary with the order of the polynomial. Note that larger order polynomials take longer to process than shorter order polynomials, but are sometimes more accurate."),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},"SEG_POLY_READ_CONVERSION 0 10 0.5 0.25 # Apply the conversion to all values < 50\nSEG_POLY_READ_CONVERSION 50 11 0.5 0.275 # Apply the conversion to all values >= 50 and < 100\nSEG_POLY_READ_CONVERSION 100 12 0.5 0.3 # Apply the conversion to all values >= 100\n")),(0,l.kt)("h4",{id:"generic_read_conversion_start"},"GENERIC_READ_CONVERSION_START"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Start a generic read conversion")),(0,l.kt)("p",null,"Adds a generic conversion function to the current telemetry item. This conversion factor is applied to the raw value in the telemetry packet before it is displayed to the user. The user still has the ability to see the raw unconverted value in a details dialog. The conversion is specified as ruby code that receives two implied parameters. 'value' which is the raw value being read and 'packet' which is a reference to the telemetry packet class (Note, referencing the packet as 'myself' is still supported for backwards compatibility). The last line of ruby code given should return the converted value. The GENERIC_READ_CONVERSION_END keyword specifies that all lines of ruby code for the conversion have been given."),(0,l.kt)("div",{class:"note warning"},(0,l.kt)("p",null,"Generic conversions are not a good long term solution. Consider creating a conversion class and using READ_CONVERSION instead. READ_CONVERSION is easier to debug and higher performance.")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Converted Type"),(0,l.kt)("td",{parentName:"tr",align:null},"Type of the converted value",(0,l.kt)("br",null),(0,l.kt)("br",null),"Valid Values: ",(0,l.kt)("span",{class:"values"},"INT, UINT, FLOAT, STRING, BLOCK")),(0,l.kt)("td",{parentName:"tr",align:null},"False")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Converted Bit Size"),(0,l.kt)("td",{parentName:"tr",align:null},"Bit size of converted value"),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},"APPEND_ITEM ITEM1 32 UINT\n GENERIC_READ_CONVERSION_START\n value * 1.5 # Convert the value by a scale factor\n GENERIC_READ_CONVERSION_END\n")),(0,l.kt)("h4",{id:"generic_read_conversion_end"},"GENERIC_READ_CONVERSION_END"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Complete a generic read conversion")),(0,l.kt)("h4",{id:"limits"},"LIMITS"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Defines a set of limits for a telemetry item")),(0,l.kt)("p",null,'If limits are violated a message is printed in the Command and Telemetry Server to indicate an item went out of limits. Other tools also use this information to update displays with different colored telemetry items or other useful information. The concept of "limits sets" is defined to allow for different limits values in different environments. For example, you might want tighter or looser limits on telemetry if your environment changes such as during thermal vacuum testing.'),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Limits Set"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the limits set. If you have no unique limits sets use the keyword DEFAULT."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Persistence"),(0,l.kt)("td",{parentName:"tr",align:null},"Number of consecutive times the telemetry item must be within a different limits range before changing limits state."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Initial State"),(0,l.kt)("td",{parentName:"tr",align:null},"Whether limits monitoring for this telemetry item is initially enabled or disabled. Note if you have multiple LIMITS items they should all have the same initial state.",(0,l.kt)("br",null),(0,l.kt)("br",null),"Valid Values: ",(0,l.kt)("span",{class:"values"},"ENABLED, DISABLED")),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Red Low Limit"),(0,l.kt)("td",{parentName:"tr",align:null},"If the telemetry value is less than or equal to this value a Red Low condition will be detected"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Yellow Low Limit"),(0,l.kt)("td",{parentName:"tr",align:null},"If the telemetry value is less than or equal to this value, but greater than the Red Low Limit, a Yellow Low condition will be detected"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Yellow High Limit"),(0,l.kt)("td",{parentName:"tr",align:null},"If the telemetry value is greater than or equal to this value, but less than the Red High Limit, a Yellow High condition will be detected"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Red High Limit"),(0,l.kt)("td",{parentName:"tr",align:null},"If the telemetry value is greater than or equal to this value a Red High condition will be detected"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Green Low Limit"),(0,l.kt)("td",{parentName:"tr",align:null},'Setting the Green Low and Green High limits defines an "operational limit" which is colored blue by OpenC3. This allows for a distinct desired operational range which is narrower than the green safety limit. If the telemetry value is greater than or equal to this value, but less than the Green High Limit, a Blue operational condition will be detected.'),(0,l.kt)("td",{parentName:"tr",align:null},"False")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Green High Limit"),(0,l.kt)("td",{parentName:"tr",align:null},'Setting the Green Low and Green High limits defines an "operational limit" which is colored blue by OpenC3. This allows for a distinct desired operational range which is narrower than the green safety limit. If the telemetry value is less than or equal to this value, but greater than the Green Low Limit, a Blue operational condition will be detected.'),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},"LIMITS DEFAULT 3 ENABLED -80.0 -70.0 60.0 80.0 -20.0 20.0\nLIMITS TVAC 3 ENABLED -80.0 -30.0 30.0 80.0\n")),(0,l.kt)("h4",{id:"limits_response"},"LIMITS_RESPONSE"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Defines a response class that is called when the limits state of the current item changes")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Response Class Filename"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the Ruby file which implements the limits response. This file should be in the config/TARGET/lib directory so it can be found by OpenC3."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Response Specific Options"),(0,l.kt)("td",{parentName:"tr",align:null},"Variable length number of options that will be passed to the class constructor"),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},"LIMITS_RESPONSE example_limits_response.rb 10\n")),(0,l.kt)("h3",{id:"append_item"},"APPEND_ITEM"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Defines a telemetry item in the current telemetry packet")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Name"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the telemety item. Must be unique within the packet."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Bit Size"),(0,l.kt)("td",{parentName:"tr",align:null},"Bit size of this telemetry item. Zero or Negative values may be used to indicate that a string fills the packet up to the offset from the end of the packet specified by this value. If Bit Offset is 0 and Bit Size is 0 then this is a derived parameter and the Data Type must be set to 'DERIVED'."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Data Type"),(0,l.kt)("td",{parentName:"tr",align:null},"Data Type of this telemetry item",(0,l.kt)("br",null),(0,l.kt)("br",null),"Valid Values: ",(0,l.kt)("span",{class:"values"},"INT, UINT, FLOAT, STRING, BLOCK, DERIVED")),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Description"),(0,l.kt)("td",{parentName:"tr",align:null},"Description for this telemetry item which must be enclosed with quotes"),(0,l.kt)("td",{parentName:"tr",align:null},"False")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Endianness"),(0,l.kt)("td",{parentName:"tr",align:null},"Indicates if the item is to be interpreted in Big Endian or Little Endian format. See guide on ",(0,l.kt)("a",{parentName:"td",href:"/tools/docs/docs/guides/little-endian-bitfields"},"Little Endian Bitfields"),".",(0,l.kt)("br",null),(0,l.kt)("br",null),"Valid Values: ",(0,l.kt)("span",{class:"values"},"BIG_ENDIAN, LITTLE_ENDIAN")),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},'APPEND_ITEM PKTID 16 UINT "Packet ID"\n')),(0,l.kt)("h3",{id:"id_item"},"ID_ITEM"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},'Defines a telemetry item in the current telemetry packet. Note, packets defined without one or more ID_ITEMs are "catch-all" packets which will match all incoming data. Normally this is the job of the UNKNOWN packet.')),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Name"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the telemety item. Must be unique within the packet."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Bit Offset"),(0,l.kt)("td",{parentName:"tr",align:null},"Bit offset into the telemetry packet of the Most Significant Bit of this item. May be negative to indicate on offset from the end of the packet. Always use a bit offset of 0 for derived item."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Bit Size"),(0,l.kt)("td",{parentName:"tr",align:null},"Bit size of this telemetry item. Zero or Negative values may be used to indicate that a string fills the packet up to the offset from the end of the packet specified by this value. If Bit Offset is 0 and Bit Size is 0 then this is a derived parameter and the Data Type must be set to 'DERIVED'."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Data Type"),(0,l.kt)("td",{parentName:"tr",align:null},"Data Type of this telemetry item",(0,l.kt)("br",null),(0,l.kt)("br",null),"Valid Values: ",(0,l.kt)("span",{class:"values"},"INT, UINT, FLOAT, STRING, BLOCK, DERIVED")),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"ID Value"),(0,l.kt)("td",{parentName:"tr",align:null},"The value of this telemetry item that uniquely identifies this telemetry packet"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Description"),(0,l.kt)("td",{parentName:"tr",align:null},"Description for this telemetry item which must be enclosed with quotes"),(0,l.kt)("td",{parentName:"tr",align:null},"False")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Endianness"),(0,l.kt)("td",{parentName:"tr",align:null},"Indicates if the item is to be interpreted in Big Endian or Little Endian format. See guide on ",(0,l.kt)("a",{parentName:"td",href:"/tools/docs/docs/guides/little-endian-bitfields"},"Little Endian Bitfields"),".",(0,l.kt)("br",null),(0,l.kt)("br",null),"Valid Values: ",(0,l.kt)("span",{class:"values"},"BIG_ENDIAN, LITTLE_ENDIAN")),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},'ID_ITEM PKTID 112 16 UINT 1 "Packet ID which must be 1"\n')),(0,l.kt)("h3",{id:"append_id_item"},"APPEND_ID_ITEM"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Defines a telemetry item in the current telemetry packet")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Name"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the telemety item. Must be unique within the packet."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Bit Size"),(0,l.kt)("td",{parentName:"tr",align:null},"Bit size of this telemetry item. Zero or Negative values may be used to indicate that a string fills the packet up to the offset from the end of the packet specified by this value. If Bit Offset is 0 and Bit Size is 0 then this is a derived parameter and the Data Type must be set to 'DERIVED'."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Data Type"),(0,l.kt)("td",{parentName:"tr",align:null},"Data Type of this telemetry item",(0,l.kt)("br",null),(0,l.kt)("br",null),"Valid Values: ",(0,l.kt)("span",{class:"values"},"INT, UINT, FLOAT, STRING, BLOCK, DERIVED")),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"ID Value"),(0,l.kt)("td",{parentName:"tr",align:null},"The value of this telemetry item that uniquely identifies this telemetry packet"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Description"),(0,l.kt)("td",{parentName:"tr",align:null},"Description for this telemetry item which must be enclosed with quotes"),(0,l.kt)("td",{parentName:"tr",align:null},"False")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Endianness"),(0,l.kt)("td",{parentName:"tr",align:null},"Indicates if the item is to be interpreted in Big Endian or Little Endian format. See guide on ",(0,l.kt)("a",{parentName:"td",href:"/tools/docs/docs/guides/little-endian-bitfields"},"Little Endian Bitfields"),".",(0,l.kt)("br",null),(0,l.kt)("br",null),"Valid Values: ",(0,l.kt)("span",{class:"values"},"BIG_ENDIAN, LITTLE_ENDIAN")),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},'APPEND_ID_ITEM PKTID 16 UINT 1 "Packet ID which must be 1"\n')),(0,l.kt)("h3",{id:"array_item"},"ARRAY_ITEM"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Defines a telemetry item in the current telemetry packet that is an array")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Name"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the telemety item. Must be unique within the packet."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Bit Offset"),(0,l.kt)("td",{parentName:"tr",align:null},"Bit offset into the telemetry packet of the Most Significant Bit of this item. May be negative to indicate on offset from the end of the packet. Always use a bit offset of 0 for derived item."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Item Bit Size"),(0,l.kt)("td",{parentName:"tr",align:null},"Bit size of each array item"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Item Data Type"),(0,l.kt)("td",{parentName:"tr",align:null},"Data Type of each array item",(0,l.kt)("br",null),(0,l.kt)("br",null),"Valid Values: ",(0,l.kt)("span",{class:"values"},"INT, UINT, FLOAT, STRING, BLOCK, DERIVED")),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Array Bit Size"),(0,l.kt)("td",{parentName:"tr",align:null},"Total Bit Size of the Array. Zero or Negative values may be used to indicate the array fills the packet up to the offset from the end of the packet specified by this value."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Description"),(0,l.kt)("td",{parentName:"tr",align:null},"Description which must be enclosed with quotes"),(0,l.kt)("td",{parentName:"tr",align:null},"False")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Endianness"),(0,l.kt)("td",{parentName:"tr",align:null},"Indicates if the data is to be sent in Big Endian or Little Endian format",(0,l.kt)("br",null),(0,l.kt)("br",null),"Valid Values: ",(0,l.kt)("span",{class:"values"},"BIG_ENDIAN, LITTLE_ENDIAN")),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},'ARRAY_ITEM ARRAY 64 32 FLOAT 320 "Array of 10 floats"\n')),(0,l.kt)("h3",{id:"append_array_item"},"APPEND_ARRAY_ITEM"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Defines a telemetry item in the current telemetry packet that is an array")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Name"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the telemety item. Must be unique within the packet."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Item Bit Size"),(0,l.kt)("td",{parentName:"tr",align:null},"Bit size of each array item"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Item Data Type"),(0,l.kt)("td",{parentName:"tr",align:null},"Data Type of each array item",(0,l.kt)("br",null),(0,l.kt)("br",null),"Valid Values: ",(0,l.kt)("span",{class:"values"},"INT, UINT, FLOAT, STRING, BLOCK, DERIVED")),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Array Bit Size"),(0,l.kt)("td",{parentName:"tr",align:null},"Total Bit Size of the Array. Zero or Negative values may be used to indicate the array fills the packet up to the offset from the end of the packet specified by this value."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Description"),(0,l.kt)("td",{parentName:"tr",align:null},"Description which must be enclosed with quotes"),(0,l.kt)("td",{parentName:"tr",align:null},"False")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Endianness"),(0,l.kt)("td",{parentName:"tr",align:null},"Indicates if the data is to be sent in Big Endian or Little Endian format",(0,l.kt)("br",null),(0,l.kt)("br",null),"Valid Values: ",(0,l.kt)("span",{class:"values"},"BIG_ENDIAN, LITTLE_ENDIAN")),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},'APPEND_ARRAY_ITEM ARRAY 32 FLOAT 320 "Array of 10 floats"\n')),(0,l.kt)("h3",{id:"select_item"},"SELECT_ITEM"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Selects an existing telemetry item for editing")),(0,l.kt)("p",null,"Must be used in conjunction with SELECT_TELEMETRY to first select the packet. Typically used to override generated values or make specific changes to telemetry that only affect a particular instance of a target used multiple times."),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Item"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the item to select for modification"),(0,l.kt)("td",{parentName:"tr",align:null},"True")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},"SELECT_TELEMETRY INST HEALTH_STATUS\n SELECT_ITEM TEMP1\n # Define limits for this item, overrides or replaces any existing\n LIMITS DEFAULT 3 ENABLED -90.0 -80.0 80.0 90.0 -20.0 20.0\n")),(0,l.kt)("h3",{id:"delete_item"},"DELETE_ITEM"),(0,l.kt)("div",{class:"right"},"(Since 4.4.1)"),"**Delete an existing telemetry item from the packet definition**",(0,l.kt)("p",null,'Deleting an item from the packet definition does not remove the defined space for that item. Thus unless you redefine a new item, there will be a "hole" in the packet where the data is not accessible. You can use SELECT_TELEMETRY and then ITEM to define a new item.'),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Item"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the item to delete"),(0,l.kt)("td",{parentName:"tr",align:null},"True")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},"SELECT_TELEMETRY INST HEALTH_STATUS\n DELETE_ITEM TEMP4\n")),(0,l.kt)("h3",{id:"meta-1"},"META"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Stores metadata for the current telemetry packet")),(0,l.kt)("p",null,"Meta data is user specific data that can be used by custom tools for various purposes. One example is to store additional information needed to generate source code header files."),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Meta Name"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the metadata to store"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Meta Values"),(0,l.kt)("td",{parentName:"tr",align:null},"One or more values to be stored for this Meta Name"),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},'META FSW_TYPE "struct tlm_packet"\n')),(0,l.kt)("h3",{id:"processor"},"PROCESSOR"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Defines a processor class that executes code every time a packet is received")),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Processor Name"),(0,l.kt)("td",{parentName:"tr",align:null},"The name of the processor"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Processor Class Filename"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the Ruby file which implements the processor. This file should be in the config/TARGET/lib directory so it can be found by OpenC3."),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Processor Specific Options"),(0,l.kt)("td",{parentName:"tr",align:null},"Variable length number of options that will be passed to the class constructor."),(0,l.kt)("td",{parentName:"tr",align:null},"False")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},"PROCESSOR TEMP1HIGH watermark_processor.rb TEMP1\n")),(0,l.kt)("h3",{id:"allow_short"},"ALLOW_SHORT"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Process telemetry packets which are less than their defined length")),(0,l.kt)("p",null,"Allows the telemetry packet to be received with a data portion that is smaller than the defined size without warnings. Any extra space in the packet will be filled in with zeros by OpenC3."),(0,l.kt)("h3",{id:"hidden"},"HIDDEN"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Hides this telemetry packet from all the OpenC3 tools")),(0,l.kt)("p",null,"This packet will not appear in Packet Viewer, Telemetry Grapher and Handbook Creator. It also hides this telemetry from appearing in the Script Runner popup helper when writing scripts. The telemetry still exists in the system and can received and checked by scripts."),(0,l.kt)("h3",{id:"accessor"},"ACCESSOR"),(0,l.kt)("div",{class:"right"},"(Since 5.0.10)"),"**Defines the class used to read and write raw values from the packet**",(0,l.kt)("p",null,"Defines the class that is used too read raw values from the packet. Defaults to BinaryAccessor. Provided accessors also include JsonAccessor, CborAccessor, HtmlAccessor, and XmlAccessor."),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Accessor Class Name"),(0,l.kt)("td",{parentName:"tr",align:null},"The name of the accessor class"),(0,l.kt)("td",{parentName:"tr",align:null},"True")))),(0,l.kt)("h2",{id:"select_telemetry"},"SELECT_TELEMETRY"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Selects an existing telemetry packet for editing")),(0,l.kt)("p",null,"Typically used in a separate configuration file from where the original telemetry is defined to override or add to the existing telemetry definition. Must be used in conjunction with SELECT_ITEM to change an individual item."),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Target Name"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the target this telemetry packet is associated with"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Packet Name"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the telemetry packet to select"),(0,l.kt)("td",{parentName:"tr",align:null},"True")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},"SELECT_TELEMETRY INST HEALTH_STATUS\n SELECT_ITEM TEMP1\n # Define limits for this item, overrides or replaces any existing\n LIMITS DEFAULT 3 ENABLED -90.0 -80.0 80.0 90.0 -20.0 20.0\n")),(0,l.kt)("h2",{id:"limits_group"},"LIMITS_GROUP"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Defines a group of related limits Items")),(0,l.kt)("p",null,'Limits groups contain telemetry items that can be enabled and disabled together. It can be used to group related limits as a subsystem that can be enabled or disabled as that particular subsystem is powered (for example). To enable a group call the enable_limits_group("NAME") method in Script Runner. To disable a group call the disable_limits_group("NAME") in Script Runner. Items can belong to multiple groups but the last enabled or disabled group "wins". For example, if an item belongs to GROUP1 and GROUP2 and you first enable GROUP1 and then disable GROUP2 the item will be disabled. If you then enable GROUP1 again it will be enabled.'),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Group Name"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the limits group"),(0,l.kt)("td",{parentName:"tr",align:null},"True")))),(0,l.kt)("h2",{id:"limits_group_item"},"LIMITS_GROUP_ITEM"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Adds the specified telemetry item to the last defined LIMITS_GROUP")),(0,l.kt)("p",null,"Limits group information is typically kept in a separate configuration file in the config/TARGET/cmd_tlm folder named limits_groups.txt."),(0,l.kt)("table",null,(0,l.kt)("thead",{parentName:"table"},(0,l.kt)("tr",{parentName:"thead"},(0,l.kt)("th",{parentName:"tr",align:null},"Parameter"),(0,l.kt)("th",{parentName:"tr",align:null},"Description"),(0,l.kt)("th",{parentName:"tr",align:null},"Required"))),(0,l.kt)("tbody",{parentName:"table"},(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Target Name"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the target"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Packet Name"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the packet"),(0,l.kt)("td",{parentName:"tr",align:null},"True")),(0,l.kt)("tr",{parentName:"tbody"},(0,l.kt)("td",{parentName:"tr",align:null},"Item Name"),(0,l.kt)("td",{parentName:"tr",align:null},"Name of the telemetry item to add to the group"),(0,l.kt)("td",{parentName:"tr",align:null},"True")))),(0,l.kt)("p",null,"Example Usage:"),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},"LIMITS_GROUP SUBSYSTEM\n LIMITS_GROUP_ITEM INST HEALTH_STATUS TEMP1\n LIMITS_GROUP_ITEM INST HEALTH_STATUS TEMP2\n LIMITS_GROUP_ITEM INST HEALTH_STATUS TEMP3\n")),(0,l.kt)("h2",{id:"example-file"},"Example File"),(0,l.kt)("p",null,(0,l.kt)("strong",{parentName:"p"},"Example File: TARGET/cmd_tlm/tlm.txt")),(0,l.kt)("pre",null,(0,l.kt)("code",{parentName:"pre",className:"language-ruby"},'TELEMETRY TARGET HS BIG_ENDIAN "Health and Status for My Target"\n ITEM CCSDSVER 0 3 UINT "CCSDS PACKET VERSION NUMBER (SEE CCSDS 133.0-B-1)"\n ITEM CCSDSTYPE 3 1 UINT "CCSDS PACKET TYPE (COMMAND OR TELEMETRY)"\n STATE TLM 0\n STATE CMD 1\n ITEM CCSDSSHF 4 1 UINT "CCSDS SECONDARY HEADER FLAG"\n STATE FALSE 0\n STATE TRUE 1\n ID_ITEM CCSDSAPID 5 11 UINT 102 "CCSDS APPLICATION PROCESS ID"\n ITEM CCSDSSEQFLAGS 16 2 UINT "CCSDS SEQUENCE FLAGS"\n STATE FIRST 0\n STATE CONT 1\n STATE LAST 2\n STATE NOGROUP 3\n ITEM CCSDSSEQCNT 18 14 UINT "CCSDS PACKET SEQUENCE COUNT"\n ITEM CCSDSLENGTH 32 16 UINT "CCSDS PACKET DATA LENGTH"\n ITEM CCSDSDAY 48 16 UINT "DAYS SINCE EPOCH (JANUARY 1ST, 1958, MIDNIGHT)"\n ITEM CCSDSMSOD 64 32 UINT "MILLISECONDS OF DAY (0 - 86399999)"\n ITEM CCSDSUSOMS 96 16 UINT "MICROSECONDS OF MILLISECOND (0-999)"\n ITEM ANGLEDEG 112 16 INT "Instrument Angle in Degrees"\n POLY_READ_CONVERSION 0 57.295\n ITEM MODE 128 8 UINT "Instrument Mode"\n STATE NORMAL 0 GREEN\n STATE DIAG 1 YELLOW\n ITEM TIMESECONDS 0 0 DERIVED "DERIVED TIME SINCE EPOCH IN SECONDS"\n GENERIC_READ_CONVERSION_START FLOAT 32\n ((packet.read(\'ccsdsday\') * 86400.0) + (packet.read(\'ccsdsmsod\') / 1000.0) + (packet.read(\'ccsdsusoms\') / 1000000.0) )\n GENERIC_READ_CONVERSION_END\n ITEM TIMEFORMATTED 0 0 DERIVED "DERIVED TIME SINCE EPOCH AS A FORMATTED STRING"\n GENERIC_READ_CONVERSION_START STRING 216\n time = Time.ccsds2mdy(packet.read(\'ccsdsday\'), packet.read(\'ccsdsmsod\'), packet.read(\'ccsdsusoms\'))\n sprintf(\'%04u/%02u/%02u %02u:%02u:%02u.%06u\', time[0], time[1], time[2], time[3], time[4], time[5], time[6])\n GENERIC_READ_CONVERSION_END\n')))}u.isMDXComponent=!0},876:(e,t,a)=>{a.d(t,{Zo:()=>d,kt:()=>N});var n=a(2784);function l(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}function r(e,t){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),a.push.apply(a,n)}return a}function i(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?r(Object(a),!0).forEach((function(t){l(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):r(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}function s(e,t){if(null==e)return{};var a,n,l=function(e,t){if(null==e)return{};var a,n,l={},r=Object.keys(e);for(n=0;n<r.length;n++)a=r[n],t.indexOf(a)>=0||(l[a]=e[a]);return l}(e,t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);for(n=0;n<r.length;n++)a=r[n],t.indexOf(a)>=0||Object.prototype.propertyIsEnumerable.call(e,a)&&(l[a]=e[a])}return l}var o=n.createContext({}),m=function(e){var t=n.useContext(o),a=t;return e&&(a="function"==typeof e?e(t):i(i({},t),e)),a},d=function(e){var t=m(e.components);return n.createElement(o.Provider,{value:t},e.children)},p="mdxType",u={inlineCode:"code",wrapper:function(e){var t=e.children;return n.createElement(n.Fragment,{},t)}},k=n.forwardRef((function(e,t){var a=e.components,l=e.mdxType,r=e.originalType,o=e.parentName,d=s(e,["components","mdxType","originalType","parentName"]),p=m(a),k=l,N=p["".concat(o,".").concat(k)]||p[k]||u[k]||r;return a?n.createElement(N,i(i({ref:t},d),{},{components:a})):n.createElement(N,i({ref:t},d))}));function N(e,t){var a=arguments,l=t&&t.mdxType;if("string"==typeof e||l){var r=a.length,i=new Array(r);i[0]=k;var s={};for(var o in t)hasOwnProperty.call(t,o)&&(s[o]=t[o]);s.originalType=e,s[p]="string"==typeof e?e:l,i[1]=s;for(var m=2;m<r;m++)i[m]=a[m];return n.createElement.apply(null,i)}return n.createElement.apply(null,a)}k.displayName="MDXCreateElement"}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunkdocs_openc3_com=self.webpackChunkdocs_openc3_com||[]).push([[7972],{9570:(e,t,a)=>{a.d(t,{Z:()=>E});var n=a(7896),r=a(2784),i=a(6277),l=a(5138),c=a(9450),s=a(9846),o=a(2896),m=a(8004),d=a(4198);function u(e){return r.createElement("svg",(0,n.Z)({viewBox:"0 0 24 24"},e),r.createElement("path",{d:"M10 19v-5h4v5c0 .55.45 1 1 1h3c.55 0 1-.45 1-1v-7h1.7c.46 0 .68-.57.33-.87L12.67 3.6c-.38-.34-.96-.34-1.34 0l-8.36 7.53c-.34.3-.13.87.33.87H5v7c0 .55.45 1 1 1h3c.55 0 1-.45 1-1z",fill:"currentColor"}))}const h={breadcrumbHomeIcon:"breadcrumbHomeIcon_JFrk"};function b(){const e=(0,d.Z)("/");return r.createElement("li",{className:"breadcrumbs__item"},r.createElement(o.Z,{"aria-label":(0,m.I)({id:"theme.docs.breadcrumbs.home",message:"Home page",description:"The ARIA label for the home page in the breadcrumbs"}),className:"breadcrumbs__link",href:e},r.createElement(u,{className:h.breadcrumbHomeIcon})))}const v={breadcrumbsContainer:"breadcrumbsContainer_zCmv"};function p(e){let{children:t,href:a,isLast:n}=e;const i="breadcrumbs__link";return n?r.createElement("span",{className:i,itemProp:"name"},t):a?r.createElement(o.Z,{className:i,href:a,itemProp:"item"},r.createElement("span",{itemProp:"name"},t)):r.createElement("span",{className:i},t)}function g(e){let{children:t,active:a,index:l,addMicrodata:c}=e;return r.createElement("li",(0,n.Z)({},c&&{itemScope:!0,itemProp:"itemListElement",itemType:"https://schema.org/ListItem"},{className:(0,i.Z)("breadcrumbs__item",{"breadcrumbs__item--active":a})}),t,r.createElement("meta",{itemProp:"position",content:String(l+1)}))}function E(){const e=(0,c.s1)(),t=(0,s.Ns)();return e?r.createElement("nav",{className:(0,i.Z)(l.k.docs.docBreadcrumbs,v.breadcrumbsContainer),"aria-label":(0,m.I)({id:"theme.docs.breadcrumbs.navAriaLabel",message:"Breadcrumbs",description:"The ARIA label for the breadcrumbs"})},r.createElement("ul",{className:"breadcrumbs",itemScope:!0,itemType:"https://schema.org/BreadcrumbList"},t&&r.createElement(b,null),e.map(((t,a)=>{const n=a===e.length-1;return r.createElement(g,{key:a,active:n,index:a,addMicrodata:!!t.href},r.createElement(p,{href:t.href,isLast:n},t.label))})))):null}},412:(e,t,a)=>{a.r(t),a.d(t,{default:()=>x});var n=a(2784),r=a(5982),i=a(9450),l=a(4198),c=a(6277),s=a(2896),o=a(8949),m=a(8004);const d={cardContainer:"cardContainer_Shn5",cardTitle:"cardTitle_h48N",cardDescription:"cardDescription_CytT"};function u(e){let{href:t,children:a}=e;return n.createElement(s.Z,{href:t,className:(0,c.Z)("card padding--lg",d.cardContainer)},a)}function h(e){let{href:t,icon:a,title:r,description:i}=e;return n.createElement(u,{href:t},n.createElement("h2",{className:(0,c.Z)("text--truncate",d.cardTitle),title:r},a," ",r),i&&n.createElement("p",{className:(0,c.Z)("text--truncate",d.cardDescription),title:i},i))}function b(e){let{item:t}=e;const a=(0,i.Wl)(t);return a?n.createElement(h,{href:a,icon:"\ud83d\uddc3\ufe0f",title:t.label,description:t.description??(0,m.I)({message:"{count} items",id:"theme.docs.DocCard.categoryDescription",description:"The default description for a category card in the generated index about how many items this category includes"},{count:t.items.length})}):null}function v(e){let{item:t}=e;const a=(0,o.Z)(t.href)?"\ud83d\udcc4\ufe0f":"\ud83d\udd17",r=(0,i.xz)(t.docId??void 0);return n.createElement(h,{href:t.href,icon:a,title:t.label,description:t.description??r?.description})}function p(e){let{item:t}=e;switch(t.type){case"link":return n.createElement(v,{item:t});case"category":return n.createElement(b,{item:t});default:throw new Error(`unknown item type ${JSON.stringify(t)}`)}}function g(e){let{className:t}=e;const a=(0,i.jA)();return n.createElement(E,{items:a.items,className:t})}function E(e){const{items:t,className:a}=e;if(!t)return n.createElement(g,e);const r=(0,i.MN)(t);return n.createElement("section",{className:(0,c.Z)("row",a)},r.map(((e,t)=>n.createElement("article",{key:t,className:"col col--6 margin-bottom--lg"},n.createElement(p,{item:e})))))}var f=a(9243),N=a(6246),Z=a(3362),k=a(9570),_=a(3343);const L={generatedIndexPage:"generatedIndexPage_ak01",list:"list_iQEt",title:"title_AulG"};function T(e){let{categoryGeneratedIndex:t}=e;return n.createElement(r.d,{title:t.title,description:t.description,keywords:t.keywords,image:(0,l.Z)(t.image)})}function y(e){let{categoryGeneratedIndex:t}=e;const a=(0,i.jA)();return n.createElement("div",{className:L.generatedIndexPage},n.createElement(N.Z,null),n.createElement(k.Z,null),n.createElement(Z.Z,null),n.createElement("header",null,n.createElement(_.Z,{as:"h1",className:L.title},t.title),t.description&&n.createElement("p",null,t.description)),n.createElement("article",{className:"margin-top--lg"},n.createElement(E,{items:a.items,className:L.list})),n.createElement("footer",{className:"margin-top--lg"},n.createElement(f.Z,{previous:t.navigation.previous,next:t.navigation.next})))}function x(e){return n.createElement(n.Fragment,null,n.createElement(T,e),n.createElement(y,e))}},9243:(e,t,a)=>{a.d(t,{Z:()=>o});var n=a(7896),r=a(2784),i=a(8004),l=a(6277),c=a(2896);function s(e){const{permalink:t,title:a,subLabel:n,isNext:i}=e;return r.createElement(c.Z,{className:(0,l.Z)("pagination-nav__link",i?"pagination-nav__link--next":"pagination-nav__link--prev"),to:t},n&&r.createElement("div",{className:"pagination-nav__sublabel"},n),r.createElement("div",{className:"pagination-nav__label"},a))}function o(e){const{previous:t,next:a}=e;return r.createElement("nav",{className:"pagination-nav docusaurus-mt-lg","aria-label":(0,i.I)({id:"theme.docs.paginator.navAriaLabel",message:"Docs pages",description:"The ARIA label for the docs pagination"})},t&&r.createElement(s,(0,n.Z)({},t,{subLabel:r.createElement(i.Z,{id:"theme.docs.paginator.previous",description:"The label used to navigate to the previous doc"},"Previous")})),a&&r.createElement(s,(0,n.Z)({},a,{subLabel:r.createElement(i.Z,{id:"theme.docs.paginator.next",description:"The label used to navigate to the next doc"},"Next"),isNext:!0})))}},3362:(e,t,a)=>{a.d(t,{Z:()=>s});var n=a(2784),r=a(6277),i=a(8004),l=a(5138),c=a(2993);function s(e){let{className:t}=e;const a=(0,c.E)();return a.badge?n.createElement("span",{className:(0,r.Z)(t,l.k.docs.docVersionBadge,"badge badge--secondary")},n.createElement(i.Z,{id:"theme.docs.versionBadge.label",values:{versionLabel:a.label}},"Version: {versionLabel}")):null}},6246:(e,t,a)=>{a.d(t,{Z:()=>p});var n=a(2784),r=a(6277),i=a(5837),l=a(2896),c=a(8004),s=a(7409),o=a(5138),m=a(3855),d=a(2993);const u={unreleased:function(e){let{siteTitle:t,versionMetadata:a}=e;return n.createElement(c.Z,{id:"theme.docs.versions.unreleasedVersionLabel",description:"The label used to tell the user that he's browsing an unreleased doc version",values:{siteTitle:t,versionLabel:n.createElement("b",null,a.label)}},"This is unreleased documentation for {siteTitle} {versionLabel} version.")},unmaintained:function(e){let{siteTitle:t,versionMetadata:a}=e;return n.createElement(c.Z,{id:"theme.docs.versions.unmaintainedVersionLabel",description:"The label used to tell the user that he's browsing an unmaintained doc version",values:{siteTitle:t,versionLabel:n.createElement("b",null,a.label)}},"This is documentation for {siteTitle} {versionLabel}, which is no longer actively maintained.")}};function h(e){const t=u[e.versionMetadata.banner];return n.createElement(t,e)}function b(e){let{versionLabel:t,to:a,onClick:r}=e;return n.createElement(c.Z,{id:"theme.docs.versions.latestVersionSuggestionLabel",description:"The label used to tell the user to check the latest version",values:{versionLabel:t,latestVersionLink:n.createElement("b",null,n.createElement(l.Z,{to:a,onClick:r},n.createElement(c.Z,{id:"theme.docs.versions.latestVersionLinkLabel",description:"The label used for the latest version suggestion link label"},"latest version")))}},"For up-to-date documentation, see the {latestVersionLink} ({versionLabel}).")}function v(e){let{className:t,versionMetadata:a}=e;const{siteConfig:{title:l}}=(0,i.Z)(),{pluginId:c}=(0,s.gA)({failfast:!0}),{savePreferredVersionName:d}=(0,m.J)(c),{latestDocSuggestion:u,latestVersionSuggestion:v}=(0,s.Jo)(c),p=u??(g=v).docs.find((e=>e.id===g.mainDocId));var g;return n.createElement("div",{className:(0,r.Z)(t,o.k.docs.docVersionBanner,"alert alert--warning margin-bottom--md"),role:"alert"},n.createElement("div",null,n.createElement(h,{siteTitle:l,versionMetadata:a})),n.createElement("div",{className:"margin-top--md"},n.createElement(b,{versionLabel:v.label,to:p.path,onClick:()=>d(v.name)})))}function p(e){let{className:t}=e;const a=(0,d.E)();return a.banner?n.createElement(v,{className:t,versionMetadata:a}):null}},3343:(e,t,a)=>{a.d(t,{Z:()=>m});var n=a(7896),r=a(2784),i=a(6277),l=a(8004),c=a(6371),s=a(2896);const o={anchorWithStickyNavbar:"anchorWithStickyNavbar_fF9Z",anchorWithHideOnScrollNavbar:"anchorWithHideOnScrollNavbar_Yh18"};function m(e){let{as:t,id:a,...m}=e;const{navbar:{hideOnScroll:d}}=(0,c.L)();if("h1"===t||!a)return r.createElement(t,(0,n.Z)({},m,{id:void 0}));const u=(0,l.I)({id:"theme.common.headingLinkTitle",message:"Direct link to {heading}",description:"Title for link to heading"},{heading:"string"==typeof m.children?m.children:a});return r.createElement(t,(0,n.Z)({},m,{className:(0,i.Z)("anchor",d?o.anchorWithHideOnScrollNavbar:o.anchorWithStickyNavbar,m.className),id:a}),m.children,r.createElement(s.Z,{className:"hash-link",to:`#${a}`,"aria-label":u,title:u},"\u200b"))}}}]);