cosmos 3.2.1 → 3.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Manifest.txt +195 -0
- data/README.md +3 -3
- data/data/crc.txt +52 -52
- data/lib/cosmos.rb +1 -1
- data/lib/cosmos/core_ext/time.rb +11 -9
- data/lib/cosmos/gui/choosers/telemetry_chooser.rb +0 -2
- data/lib/cosmos/gui/dialogs/about_dialog.rb +2 -2
- data/lib/cosmos/gui/dialogs/exception_dialog.rb +2 -2
- data/lib/cosmos/gui/dialogs/progress_dialog.rb +11 -5
- data/lib/cosmos/gui/dialogs/splash.rb +32 -10
- data/lib/cosmos/gui/dialogs/tlm_details_dialog.rb +1 -1
- data/lib/cosmos/gui/line_graph/line_graph_drawing.rb +2 -2
- data/lib/cosmos/gui/qt.rb +22 -22
- data/lib/cosmos/io/json_drb.rb +4 -4
- data/lib/cosmos/io/json_rpc.rb +21 -21
- data/lib/cosmos/packet_logs/packet_log_writer.rb +18 -20
- data/lib/cosmos/packets/commands.rb +8 -6
- data/lib/cosmos/packets/limits.rb +3 -2
- data/lib/cosmos/packets/packet.rb +14 -11
- data/lib/cosmos/packets/parsers/limits_parser.rb +1 -1
- data/lib/cosmos/packets/parsers/macro_parser.rb +4 -4
- data/lib/cosmos/packets/parsers/state_parser.rb +1 -1
- data/lib/cosmos/packets/structure.rb +2 -2
- data/lib/cosmos/packets/telemetry.rb +5 -4
- data/lib/cosmos/script/script.rb +6 -6
- data/lib/cosmos/streams/tcpip_socket_stream.rb +2 -1
- data/lib/cosmos/streams/template_stream_protocol.rb +1 -1
- data/lib/cosmos/tools/cmd_sender/cmd_sender.rb +1 -1
- data/lib/cosmos/tools/cmd_tlm_server/cmd_tlm_server_gui.rb +5 -8
- data/lib/cosmos/tools/cmd_tlm_server/gui/interfaces_tab.rb +4 -3
- data/lib/cosmos/tools/cmd_tlm_server/gui/packets_tab.rb +9 -3
- data/lib/cosmos/tools/cmd_tlm_server/gui/status_tab.rb +15 -11
- data/lib/cosmos/tools/data_viewer/data_viewer.rb +1 -1
- data/lib/cosmos/tools/data_viewer/data_viewer_component.rb +2 -2
- data/lib/cosmos/tools/handbook_creator/handbook_creator.rb +2 -2
- data/lib/cosmos/tools/handbook_creator/handbook_creator_config.rb +0 -2
- data/lib/cosmos/tools/limits_monitor/limits_monitor.rb +1 -1
- data/lib/cosmos/tools/replay/replay.rb +2 -2
- data/lib/cosmos/tools/script_runner/script_audit.rb +1 -1
- data/lib/cosmos/tools/script_runner/script_runner.rb +1 -1
- data/lib/cosmos/tools/script_runner/script_runner_frame.rb +3 -7
- data/lib/cosmos/tools/table_manager/table_config.rb +1 -1
- data/lib/cosmos/tools/test_runner/results_writer.rb +1 -1
- data/lib/cosmos/tools/test_runner/test_runner.rb +2 -2
- data/lib/cosmos/tools/tlm_extractor/tlm_extractor.rb +2 -1
- data/lib/cosmos/tools/tlm_extractor/tlm_extractor_processor.rb +1 -1
- data/lib/cosmos/tools/tlm_grapher/data_object_adders/xy_data_object_adder.rb +1 -0
- data/lib/cosmos/tools/tlm_grapher/data_object_editors/housekeeping_data_object_editor.rb +1 -0
- data/lib/cosmos/tools/tlm_grapher/data_object_editors/xy_data_object_editor.rb +1 -0
- data/lib/cosmos/tools/tlm_grapher/tabbed_plots/overview_tabbed_plots.rb +3 -3
- data/lib/cosmos/tools/tlm_viewer/tlm_viewer.rb +1 -3
- data/lib/cosmos/top_level.rb +2 -6
- data/lib/cosmos/utilities/ruby_lex_utils.rb +1 -1
- data/lib/cosmos/version.rb +5 -5
- data/lib/cosmos/win32/win32_main.rb +11 -7
- data/spec/ccsds/ccsds_packet_spec.rb +28 -28
- data/spec/ccsds/ccsds_parser_spec.rb +27 -27
- data/spec/config/config_parser_spec.rb +88 -88
- data/spec/conversions/conversion_spec.rb +3 -3
- data/spec/conversions/generic_conversion_spec.rb +9 -9
- data/spec/conversions/new_packet_log_conversion_spec.rb +4 -4
- data/spec/conversions/polynomial_conversion_spec.rb +7 -7
- data/spec/conversions/processor_conversion_spec.rb +9 -9
- data/spec/conversions/received_count_conversion_spec.rb +7 -7
- data/spec/conversions/received_time_formatted_conversion_spec.rb +9 -9
- data/spec/conversions/received_time_seconds_conversion_spec.rb +9 -9
- data/spec/conversions/segmented_polynomial_conversion_spec.rb +11 -11
- data/spec/conversions/unix_time_formatted_conversion_spec.rb +13 -13
- data/spec/conversions/unix_time_seconds_conversion_spec.rb +13 -13
- data/spec/core_ext/array_spec.rb +76 -76
- data/spec/core_ext/class_spec.rb +3 -3
- data/spec/core_ext/cosmos_io_spec.rb +16 -16
- data/spec/core_ext/exception_spec.rb +19 -19
- data/spec/core_ext/file_spec.rb +16 -16
- data/spec/core_ext/hash_spec.rb +3 -3
- data/spec/core_ext/io_spec.rb +2 -2
- data/spec/core_ext/kernel_spec.rb +2 -2
- data/spec/core_ext/math_spec.rb +43 -43
- data/spec/core_ext/matrix_spec.rb +22 -22
- data/spec/core_ext/objectspace_spec.rb +6 -6
- data/spec/core_ext/range_spec.rb +2 -2
- data/spec/core_ext/socket_spec.rb +4 -4
- data/spec/core_ext/string_spec.rb +67 -67
- data/spec/core_ext/stringio_spec.rb +2 -2
- data/spec/core_ext/time_spec.rb +82 -82
- data/spec/gui/line_graph/line_clip_spec.rb +34 -34
- data/spec/interfaces/interface_spec.rb +46 -46
- data/spec/interfaces/linc_interface_spec.rb +26 -26
- data/spec/interfaces/serial_interface_spec.rb +16 -16
- data/spec/interfaces/simulated_target_interface_spec.rb +21 -21
- data/spec/interfaces/stream_interface_spec.rb +22 -22
- data/spec/interfaces/tcpip_client_interface_spec.rb +14 -14
- data/spec/interfaces/tcpip_server_interface_spec.rb +41 -41
- data/spec/interfaces/udp_interface_spec.rb +46 -46
- data/spec/io/buffered_file_spec.rb +50 -50
- data/spec/io/io_multiplexer_spec.rb +9 -9
- data/spec/io/json_drb_object_spec.rb +7 -7
- data/spec/io/json_drb_spec.rb +55 -55
- data/spec/io/json_rpc_spec.rb +68 -68
- data/spec/io/raw_logger_pair_spec.rb +28 -28
- data/spec/io/raw_logger_spec.rb +22 -22
- data/spec/io/serial_driver_spec.rb +3 -3
- data/spec/io/stderr_spec.rb +2 -2
- data/spec/io/stdout_spec.rb +2 -2
- data/spec/io/tcpip_server_spec.rb +62 -62
- data/spec/io/udp_sockets_spec.rb +19 -19
- data/spec/io/win32_serial_driver_spec.rb +10 -10
- data/spec/packet_logs/meta_packet_log_writer_spec.rb +32 -32
- data/spec/packet_logs/packet_log_reader_spec.rb +138 -138
- data/spec/packet_logs/packet_log_writer_pair_spec.rb +3 -3
- data/spec/packet_logs/packet_log_writer_spec.rb +26 -26
- data/spec/packets/binary_accessor_spec.rb +672 -672
- data/spec/packets/commands_spec.rb +123 -123
- data/spec/packets/limits_response_spec.rb +1 -1
- data/spec/packets/limits_spec.rb +69 -69
- data/spec/packets/packet_config_spec.rb +93 -93
- data/spec/packets/packet_item_limits_spec.rb +46 -46
- data/spec/packets/packet_item_spec.rb +108 -108
- data/spec/packets/packet_spec.rb +364 -348
- data/spec/packets/parsers/format_string_parser_spec.rb +13 -13
- data/spec/packets/parsers/limits_parser_spec.rb +8 -8
- data/spec/packets/parsers/limits_response_parser_spec.rb +9 -9
- data/spec/packets/parsers/macro_parser_spec.rb +34 -6
- data/spec/packets/parsers/packet_parser_spec.rb +6 -6
- data/spec/packets/parsers/processor_parser_spec.rb +7 -7
- data/spec/packets/parsers/state_parser_spec.rb +23 -23
- data/spec/packets/structure_item_spec.rb +62 -62
- data/spec/packets/structure_spec.rb +183 -183
- data/spec/packets/telemetry_spec.rb +174 -174
- data/spec/processors/new_packet_log_processor_spec.rb +4 -4
- data/spec/processors/processor_spec.rb +9 -9
- data/spec/processors/statistics_processor_spec.rb +21 -21
- data/spec/processors/watermark_processor_spec.rb +12 -12
- data/spec/script/script_spec.rb +158 -158
- data/spec/spec_helper.rb +44 -13
- data/spec/streams/burst_stream_protocol_spec.rb +8 -8
- data/spec/streams/fixed_stream_protocol_spec.rb +26 -26
- data/spec/streams/length_stream_protocol_spec.rb +27 -27
- data/spec/streams/preidentified_stream_protocol_spec.rb +25 -25
- data/spec/streams/serial_stream_spec.rb +19 -19
- data/spec/streams/stream_protocol_spec.rb +52 -52
- data/spec/streams/stream_spec.rb +1 -1
- data/spec/streams/tcpip_client_stream_spec.rb +7 -7
- data/spec/streams/tcpip_socket_stream_spec.rb +84 -49
- data/spec/streams/template_stream_protocol_spec.rb +17 -17
- data/spec/streams/terminated_stream_protocol_spec.rb +19 -19
- data/spec/system/system_spec.rb +95 -95
- data/spec/system/target_spec.rb +32 -32
- data/spec/tools/cmd_tlm_server/api_spec.rb +386 -386
- data/spec/tools/cmd_tlm_server/background_task_spec.rb +3 -3
- data/spec/tools/cmd_tlm_server/background_tasks_spec.rb +8 -8
- data/spec/tools/cmd_tlm_server/cmd_tlm_server_config_spec.rb +57 -57
- data/spec/tools/cmd_tlm_server/cmd_tlm_server_spec.rb +85 -85
- data/spec/tools/cmd_tlm_server/commanding_spec.rb +11 -11
- data/spec/tools/cmd_tlm_server/connections_spec.rb +23 -23
- data/spec/tools/cmd_tlm_server/interface_thread_spec.rb +57 -57
- data/spec/tools/cmd_tlm_server/interfaces_spec.rb +32 -32
- data/spec/tools/cmd_tlm_server/packet_logging_spec.rb +17 -17
- data/spec/tools/cmd_tlm_server/router_thread_spec.rb +15 -15
- data/spec/tools/cmd_tlm_server/routers_spec.rb +36 -36
- data/spec/top_level/top_level_spec.rb +60 -60
- data/spec/utilities/crc_spec.rb +6 -6
- data/spec/utilities/csv_spec.rb +13 -13
- data/spec/utilities/logger_spec.rb +20 -20
- data/spec/utilities/message_log_spec.rb +13 -13
- data/spec/utilities/quaternion_spec.rb +30 -30
- data/spec/utilities/ruby_lex_utils_spec.rb +14 -14
- data/test/benchmarks/binary_accessor_benchmark.rb +14 -0
- data/test/benchmarks/gsub_benchmark.rb +114 -0
- data/test/performance/PACKETS.bat +1 -0
- data/test/performance/Rakefile +77 -0
- data/test/performance/THREADS.bat +1 -0
- data/test/performance/config/data/attitude.bin +0 -0
- data/test/performance/config/data/crc.txt +206 -0
- data/test/performance/config/data/diamond.STL +58 -0
- data/test/performance/config/data/groundoff.gif +0 -0
- data/test/performance/config/data/groundon.gif +0 -0
- data/test/performance/config/data/hselectoff.gif +0 -0
- data/test/performance/config/data/hselecton.gif +0 -0
- data/test/performance/config/data/hswitchoff.gif +0 -0
- data/test/performance/config/data/hswitchon.gif +0 -0
- data/test/performance/config/data/meta_init.txt +4 -0
- data/test/performance/config/data/position.bin +0 -0
- data/test/performance/config/data/poweroff.gif +0 -0
- data/test/performance/config/data/poweron.gif +0 -0
- data/test/performance/config/data/satellite.gif +0 -0
- data/test/performance/config/data/tada.wav +0 -0
- data/test/performance/config/data/vswitchoff.gif +0 -0
- data/test/performance/config/data/vswitchon.gif +0 -0
- data/test/performance/config/system/system_packets.txt +39 -0
- data/test/performance/config/system/system_threads.txt +59 -0
- data/test/performance/config/targets/COSMOS/cmd_tlm/cosmos_server_cmds.txt +41 -0
- data/test/performance/config/targets/COSMOS/cmd_tlm/cosmos_server_tlm.txt +15 -0
- data/test/performance/config/targets/COSMOS/cmd_tlm_server.txt +6 -0
- data/test/performance/config/targets/COSMOS/screens/limits_change.txt +20 -0
- data/test/performance/config/targets/COSMOS/screens/version.txt +19 -0
- data/test/performance/config/targets/COSMOS/target.txt +11 -0
- data/test/performance/config/targets/EXAMPLE/cmd_tlm/example_cmds.txt +17 -0
- data/test/performance/config/targets/EXAMPLE/cmd_tlm/example_tlm.txt +18 -0
- data/test/performance/config/targets/EXAMPLE/cmd_tlm_server.txt +6 -0
- data/test/performance/config/targets/EXAMPLE/lib/example_interface.rb +22 -0
- data/test/performance/config/targets/EXAMPLE/target.txt +7 -0
- data/test/performance/config/targets/SYSTEM/screens/status.txt +12 -0
- data/test/performance/config/tools/cmd_tlm_server/cmd_tlm_server_packets.txt +34 -0
- data/test/performance/config/tools/cmd_tlm_server/cmd_tlm_server_threads.txt +68 -0
- data/test/performance/config/tools/data_viewer/data_viewer.txt +11 -0
- data/test/performance/config/tools/handbook_creator/default_toc.xsl +59 -0
- data/test/performance/config/tools/handbook_creator/handbook_creator.txt +66 -0
- data/test/performance/config/tools/handbook_creator/templates/command_packets.html.erb +86 -0
- data/test/performance/config/tools/handbook_creator/templates/command_toc.html.erb +38 -0
- data/test/performance/config/tools/handbook_creator/templates/footer.html.erb +9 -0
- data/test/performance/config/tools/handbook_creator/templates/header.html.erb +25 -0
- data/test/performance/config/tools/handbook_creator/templates/limits_groups.html.erb +13 -0
- data/test/performance/config/tools/handbook_creator/templates/nav.html.erb +27 -0
- data/test/performance/config/tools/handbook_creator/templates/overview.html.erb +1 -0
- data/test/performance/config/tools/handbook_creator/templates/pdf_cover.html.erb +23 -0
- data/test/performance/config/tools/handbook_creator/templates/pdf_footer.html.erb +33 -0
- data/test/performance/config/tools/handbook_creator/templates/pdf_header.html.erb +41 -0
- data/test/performance/config/tools/handbook_creator/templates/telemetry_packets.html.erb +80 -0
- data/test/performance/config/tools/handbook_creator/templates/telemetry_toc.html.erb +38 -0
- data/test/performance/config/tools/handbook_creator/templates/title.html.erb +1 -0
- data/test/performance/config/tools/launcher/launcher_packets.txt +29 -0
- data/test/performance/config/tools/launcher/launcher_threads.txt +70 -0
- data/test/performance/config/tools/limits_monitor/README.txt +1 -0
- data/test/performance/config/tools/opengl_builder/README.txt +1 -0
- data/test/performance/config/tools/script_runner/script_runner.txt +3 -0
- data/test/performance/config/tools/table_manager/ConfigTables_def.txt +8 -0
- data/test/performance/config/tools/table_manager/ExampleTableDefinition.txt +24 -0
- data/test/performance/config/tools/table_manager/MCConfigurationTable_fsw1_def.txt +25 -0
- data/test/performance/config/tools/table_manager/MCConfigurationTable_fsw2_def.txt +25 -0
- data/test/performance/config/tools/table_manager/PPSSelectionTable_def.txt +8 -0
- data/test/performance/config/tools/table_manager/TLMMonitoringTable_def.txt +248 -0
- data/test/performance/config/tools/test_runner/test_runner.txt +17 -0
- data/test/performance/config/tools/tlm_extractor/tlm_extractor.txt +13 -0
- data/test/performance/config/tools/tlm_extractor/tlm_extractor2.txt +2 -0
- data/test/performance/config/tools/tlm_extractor/tlm_extractor3.txt +2 -0
- data/test/performance/config/tools/tlm_extractor/tlm_extractor4.txt +2 -0
- data/test/performance/config/tools/tlm_grapher/README.txt +1 -0
- data/test/performance/config/tools/tlm_viewer/tlm_viewer.txt +41 -0
- data/test/performance/lib/example_background_task.rb +57 -0
- data/test/performance/lib/example_target.rb +120 -0
- data/test/performance/lib/scpi_target.rb +74 -0
- data/test/performance/lib/user_version.rb +3 -0
- data/test/performance/outputs/handbooks/README.txt +1 -0
- data/test/performance/outputs/logs/README.txt +1 -0
- data/test/performance/outputs/saved_config/README.txt +1 -0
- data/test/performance/outputs/tables/README.txt +1 -0
- data/test/performance/outputs/tmp/README.txt +1 -0
- data/test/performance/procedures/checks.rb +11 -0
- data/test/performance/procedures/clear_util.rb +7 -0
- data/test/performance/procedures/collect.rb +18 -0
- data/test/performance/procedures/collect_util.rb +14 -0
- data/test/performance/procedures/cosmos_api_test.rb +293 -0
- data/test/performance/procedures/disconnect.rb +29 -0
- data/test/performance/procedures/example_test.rb +182 -0
- data/test/performance/procedures/plot_test.rb +8 -0
- data/test/performance/procedures/procedure.rb +3 -0
- data/test/performance/procedures/run_example_test.rb +3 -0
- data/test/performance/procedures/test.rb +51 -0
- data/test/performance/tools/CmdExtractor +14 -0
- data/test/performance/tools/CmdExtractor.bat +59 -0
- data/test/performance/tools/CmdSender +14 -0
- data/test/performance/tools/CmdSender.bat +59 -0
- data/test/performance/tools/CmdTlmServer +16 -0
- data/test/performance/tools/CmdTlmServer.bat +59 -0
- data/test/performance/tools/CmdTlmServerMemProf +20 -0
- data/test/performance/tools/CmdTlmServerMemProf.bat +59 -0
- data/test/performance/tools/DataViewer +14 -0
- data/test/performance/tools/DataViewer.bat +59 -0
- data/test/performance/tools/ExampleTarget +14 -0
- data/test/performance/tools/ExampleTarget.bat +59 -0
- data/test/performance/tools/HandbookCreator +14 -0
- data/test/performance/tools/HandbookCreator.bat +61 -0
- data/test/performance/tools/Launcher +14 -0
- data/test/performance/tools/Launcher.bat +59 -0
- data/test/performance/tools/LimitsMonitor +14 -0
- data/test/performance/tools/LimitsMonitor.bat +59 -0
- data/test/performance/tools/OpenGLBuilder +14 -0
- data/test/performance/tools/OpenGLBuilder.bat +59 -0
- data/test/performance/tools/PacketViewer +14 -0
- data/test/performance/tools/PacketViewer.bat +59 -0
- data/test/performance/tools/Replay +14 -0
- data/test/performance/tools/Replay.bat +59 -0
- data/test/performance/tools/ScpiTarget +14 -0
- data/test/performance/tools/ScpiTarget.bat +59 -0
- data/test/performance/tools/ScriptRunner +14 -0
- data/test/performance/tools/ScriptRunner.bat +59 -0
- data/test/performance/tools/TableManager +14 -0
- data/test/performance/tools/TableManager.bat +59 -0
- data/test/performance/tools/TestRunner +14 -0
- data/test/performance/tools/TestRunner.bat +59 -0
- data/test/performance/tools/TlmExtractor +14 -0
- data/test/performance/tools/TlmExtractor.bat +59 -0
- data/test/performance/tools/TlmGrapher +14 -0
- data/test/performance/tools/TlmGrapher.bat +59 -0
- data/test/performance/tools/TlmViewer +14 -0
- data/test/performance/tools/TlmViewer.bat +59 -0
- data/test/performance/tools/mac/CmdExtractor.app/Contents/Info.plist +38 -0
- data/test/performance/tools/mac/CmdExtractor.app/Contents/MacOS/CmdExtractor.rb +15 -0
- data/test/performance/tools/mac/CmdExtractor.app/Contents/MacOS/main.sh +6 -0
- data/test/performance/tools/mac/CmdExtractor.app/Contents/Resources/appIcon.icns +0 -0
- data/test/performance/tools/mac/CmdSender.app/Contents/Info.plist +38 -0
- data/test/performance/tools/mac/CmdSender.app/Contents/MacOS/CmdSender.rb +15 -0
- data/test/performance/tools/mac/CmdSender.app/Contents/MacOS/main.sh +6 -0
- data/test/performance/tools/mac/CmdSender.app/Contents/Resources/appIcon.icns +0 -0
- data/test/performance/tools/mac/CmdTlmServer.app/Contents/Info.plist +38 -0
- data/test/performance/tools/mac/CmdTlmServer.app/Contents/MacOS/CmdTlmServer.rb +15 -0
- data/test/performance/tools/mac/CmdTlmServer.app/Contents/MacOS/main.sh +6 -0
- data/test/performance/tools/mac/CmdTlmServer.app/Contents/Resources/appIcon.icns +0 -0
- data/test/performance/tools/mac/DataViewer.app/Contents/Info.plist +38 -0
- data/test/performance/tools/mac/DataViewer.app/Contents/MacOS/DataViewer.rb +15 -0
- data/test/performance/tools/mac/DataViewer.app/Contents/MacOS/main.sh +6 -0
- data/test/performance/tools/mac/DataViewer.app/Contents/Resources/appIcon.icns +0 -0
- data/test/performance/tools/mac/HandbookCreator.app/Contents/Info.plist +38 -0
- data/test/performance/tools/mac/HandbookCreator.app/Contents/MacOS/HandbookCreator.rb +15 -0
- data/test/performance/tools/mac/HandbookCreator.app/Contents/MacOS/main.sh +6 -0
- data/test/performance/tools/mac/HandbookCreator.app/Contents/Resources/appIcon.icns +0 -0
- data/test/performance/tools/mac/Launcher.app/Contents/Info.plist +38 -0
- data/test/performance/tools/mac/Launcher.app/Contents/MacOS/Launcher.rb +15 -0
- data/test/performance/tools/mac/Launcher.app/Contents/MacOS/main.sh +6 -0
- data/test/performance/tools/mac/Launcher.app/Contents/Resources/appIcon.icns +0 -0
- data/test/performance/tools/mac/LimitsMonitor.app/Contents/Info.plist +38 -0
- data/test/performance/tools/mac/LimitsMonitor.app/Contents/MacOS/LimitsMonitor.rb +15 -0
- data/test/performance/tools/mac/LimitsMonitor.app/Contents/MacOS/main.sh +6 -0
- data/test/performance/tools/mac/LimitsMonitor.app/Contents/Resources/appIcon.icns +0 -0
- data/test/performance/tools/mac/OpenGLBuilder.app/Contents/Info.plist +38 -0
- data/test/performance/tools/mac/OpenGLBuilder.app/Contents/MacOS/OpenGLBuilder.rb +15 -0
- data/test/performance/tools/mac/OpenGLBuilder.app/Contents/MacOS/main.sh +6 -0
- data/test/performance/tools/mac/OpenGLBuilder.app/Contents/Resources/appIcon.icns +0 -0
- data/test/performance/tools/mac/PacketViewer.app/Contents/Info.plist +38 -0
- data/test/performance/tools/mac/PacketViewer.app/Contents/MacOS/PacketViewer.rb +15 -0
- data/test/performance/tools/mac/PacketViewer.app/Contents/MacOS/main.sh +6 -0
- data/test/performance/tools/mac/PacketViewer.app/Contents/Resources/appIcon.icns +0 -0
- data/test/performance/tools/mac/Replay.app/Contents/Info.plist +38 -0
- data/test/performance/tools/mac/Replay.app/Contents/MacOS/Replay.rb +15 -0
- data/test/performance/tools/mac/Replay.app/Contents/MacOS/main.sh +6 -0
- data/test/performance/tools/mac/Replay.app/Contents/Resources/appIcon.icns +0 -0
- data/test/performance/tools/mac/ScriptRunner.app/Contents/Info.plist +38 -0
- data/test/performance/tools/mac/ScriptRunner.app/Contents/MacOS/ScriptRunner.rb +15 -0
- data/test/performance/tools/mac/ScriptRunner.app/Contents/MacOS/main.sh +6 -0
- data/test/performance/tools/mac/ScriptRunner.app/Contents/Resources/appIcon.icns +0 -0
- data/test/performance/tools/mac/TableManager.app/Contents/Info.plist +38 -0
- data/test/performance/tools/mac/TableManager.app/Contents/MacOS/TableManager.rb +15 -0
- data/test/performance/tools/mac/TableManager.app/Contents/MacOS/main.sh +6 -0
- data/test/performance/tools/mac/TableManager.app/Contents/Resources/appIcon.icns +0 -0
- data/test/performance/tools/mac/TestRunner.app/Contents/Info.plist +38 -0
- data/test/performance/tools/mac/TestRunner.app/Contents/MacOS/TestRunner.rb +15 -0
- data/test/performance/tools/mac/TestRunner.app/Contents/MacOS/main.sh +6 -0
- data/test/performance/tools/mac/TestRunner.app/Contents/Resources/appIcon.icns +0 -0
- data/test/performance/tools/mac/TlmExtractor.app/Contents/Info.plist +38 -0
- data/test/performance/tools/mac/TlmExtractor.app/Contents/MacOS/TlmExtractor.rb +15 -0
- data/test/performance/tools/mac/TlmExtractor.app/Contents/MacOS/main.sh +6 -0
- data/test/performance/tools/mac/TlmExtractor.app/Contents/Resources/appIcon.icns +0 -0
- data/test/performance/tools/mac/TlmGrapher.app/Contents/Info.plist +38 -0
- data/test/performance/tools/mac/TlmGrapher.app/Contents/MacOS/TlmGrapher.rb +15 -0
- data/test/performance/tools/mac/TlmGrapher.app/Contents/MacOS/main.sh +6 -0
- data/test/performance/tools/mac/TlmGrapher.app/Contents/Resources/appIcon.icns +0 -0
- data/test/performance/tools/mac/TlmViewer.app/Contents/Info.plist +38 -0
- data/test/performance/tools/mac/TlmViewer.app/Contents/MacOS/TlmViewer.rb +15 -0
- data/test/performance/tools/mac/TlmViewer.app/Contents/MacOS/main.sh +6 -0
- data/test/performance/tools/mac/TlmViewer.app/Contents/Resources/appIcon.icns +0 -0
- data/test/performance/userpath.txt +1 -0
- metadata +197 -2
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# Declare Targets that make up the system
|
2
|
+
# DECLARE_TARGET target_name [substitute_name]
|
3
|
+
|
4
|
+
# AUTO_DECLARE_TARGETS
|
5
|
+
DECLARE_TARGET EXAMPLE 9999
|
6
|
+
DECLARE_TARGET EXAMPLE 9998
|
7
|
+
DECLARE_TARGET EXAMPLE 9997
|
8
|
+
DECLARE_TARGET EXAMPLE 9996
|
9
|
+
DECLARE_TARGET EXAMPLE 9995
|
10
|
+
DECLARE_TARGET EXAMPLE 9994
|
11
|
+
DECLARE_TARGET EXAMPLE 9993
|
12
|
+
DECLARE_TARGET EXAMPLE 9992
|
13
|
+
DECLARE_TARGET EXAMPLE 9991
|
14
|
+
DECLARE_TARGET EXAMPLE 9990
|
15
|
+
DECLARE_TARGET COSMOS
|
16
|
+
DECLARE_TARGET SYSTEM
|
17
|
+
|
18
|
+
# Ethernet Ports
|
19
|
+
PORT CTS_API 7777
|
20
|
+
PORT TLMVIEWER_API 7778
|
21
|
+
PORT CTS_PREIDENTIFIED 7779
|
22
|
+
|
23
|
+
# Default Packet Log Writer and Reader
|
24
|
+
DEFAULT_PACKET_LOG_WRITER packet_log_writer.rb
|
25
|
+
DEFAULT_PACKET_LOG_READER packet_log_reader.rb
|
26
|
+
|
27
|
+
# Paths
|
28
|
+
PATH LOGS ./outputs/logs
|
29
|
+
PATH TMP ./outputs/tmp
|
30
|
+
PATH SAVED_CONFIG ./outputs/saved_config
|
31
|
+
PATH TABLES ./outputs/tables
|
32
|
+
PATH HANDBOOKS ./outputs/handbooks
|
33
|
+
PATH PROCEDURES ./procedures
|
34
|
+
|
35
|
+
ALLOW_ACCESS ALL
|
36
|
+
|
37
|
+
# DISABLE_DNS
|
38
|
+
# STALENESS_SECONDS 30
|
39
|
+
# CMD_TLM_VERSION version
|
@@ -0,0 +1,59 @@
|
|
1
|
+
# Declare Targets that make up the system
|
2
|
+
# DECLARE_TARGET target_name [substitute_name]
|
3
|
+
|
4
|
+
# AUTO_DECLARE_TARGETS
|
5
|
+
DECLARE_TARGET EXAMPLE 9999
|
6
|
+
DECLARE_TARGET EXAMPLE 9998
|
7
|
+
DECLARE_TARGET EXAMPLE 9997
|
8
|
+
DECLARE_TARGET EXAMPLE 9996
|
9
|
+
DECLARE_TARGET EXAMPLE 9995
|
10
|
+
DECLARE_TARGET EXAMPLE 9994
|
11
|
+
DECLARE_TARGET EXAMPLE 9993
|
12
|
+
DECLARE_TARGET EXAMPLE 9992
|
13
|
+
DECLARE_TARGET EXAMPLE 9991
|
14
|
+
DECLARE_TARGET EXAMPLE 9990
|
15
|
+
DECLARE_TARGET EXAMPLE 9989
|
16
|
+
DECLARE_TARGET EXAMPLE 9988
|
17
|
+
DECLARE_TARGET EXAMPLE 9987
|
18
|
+
DECLARE_TARGET EXAMPLE 9986
|
19
|
+
DECLARE_TARGET EXAMPLE 9985
|
20
|
+
DECLARE_TARGET EXAMPLE 9984
|
21
|
+
DECLARE_TARGET EXAMPLE 9983
|
22
|
+
DECLARE_TARGET EXAMPLE 9982
|
23
|
+
DECLARE_TARGET EXAMPLE 9981
|
24
|
+
DECLARE_TARGET EXAMPLE 9980
|
25
|
+
DECLARE_TARGET EXAMPLE 9979
|
26
|
+
DECLARE_TARGET EXAMPLE 9978
|
27
|
+
DECLARE_TARGET EXAMPLE 9977
|
28
|
+
DECLARE_TARGET EXAMPLE 9976
|
29
|
+
DECLARE_TARGET EXAMPLE 9975
|
30
|
+
DECLARE_TARGET EXAMPLE 9974
|
31
|
+
DECLARE_TARGET EXAMPLE 9973
|
32
|
+
DECLARE_TARGET EXAMPLE 9972
|
33
|
+
DECLARE_TARGET EXAMPLE 9971
|
34
|
+
DECLARE_TARGET EXAMPLE 9970
|
35
|
+
DECLARE_TARGET COSMOS
|
36
|
+
DECLARE_TARGET SYSTEM
|
37
|
+
|
38
|
+
# Ethernet Ports
|
39
|
+
PORT CTS_API 7777
|
40
|
+
PORT TLMVIEWER_API 7778
|
41
|
+
PORT CTS_PREIDENTIFIED 7779
|
42
|
+
|
43
|
+
# Default Packet Log Writer and Reader
|
44
|
+
DEFAULT_PACKET_LOG_WRITER packet_log_writer.rb
|
45
|
+
DEFAULT_PACKET_LOG_READER packet_log_reader.rb
|
46
|
+
|
47
|
+
# Paths
|
48
|
+
PATH LOGS ./outputs/logs
|
49
|
+
PATH TMP ./outputs/tmp
|
50
|
+
PATH SAVED_CONFIG ./outputs/saved_config
|
51
|
+
PATH TABLES ./outputs/tables
|
52
|
+
PATH HANDBOOKS ./outputs/handbooks
|
53
|
+
PATH PROCEDURES ./procedures
|
54
|
+
|
55
|
+
ALLOW_ACCESS ALL
|
56
|
+
|
57
|
+
# DISABLE_DNS
|
58
|
+
# STALENESS_SECONDS 30
|
59
|
+
# CMD_TLM_VERSION version
|
@@ -0,0 +1,41 @@
|
|
1
|
+
COMMAND COSMOS STARTLOGGING BIG_ENDIAN "Starts logging both commands and telemetry for an interface"
|
2
|
+
APPEND_PARAMETER SYNC 32 UINT 0x1ACFFC1D 0x1ACFFC1D 0x1ACFFC1D "COSMOS Command Sync Pattern"
|
3
|
+
APPEND_ID_PARAMETER OPCODE 32 UINT 2 2 2 "COSMOS Command Opcode"
|
4
|
+
APPEND_PARAMETER LENGTH 32 UINT 0 65536 3 "COSMOS Command Length of Command Data in Bytes"
|
5
|
+
APPEND_PARAMETER INTERFACE 256 STRING "ALL" "Interface to start logging on - ALL starts logging on all interfaces"
|
6
|
+
APPEND_PARAMETER LABEL 0 STRING "" "Optional label to place on log files"
|
7
|
+
|
8
|
+
COMMAND COSMOS STARTCMDLOG BIG_ENDIAN "Starts logging commands for an interface"
|
9
|
+
APPEND_PARAMETER SYNC 32 UINT 0x1ACFFC1D 0x1ACFFC1D 0x1ACFFC1D "COSMOS Command Sync Pattern"
|
10
|
+
APPEND_ID_PARAMETER OPCODE 32 UINT 3 3 3 "COSMOS Command Opcode"
|
11
|
+
APPEND_PARAMETER LENGTH 32 UINT 0 65536 3 "COSMOS Command Length of Command Data in Bytes"
|
12
|
+
APPEND_PARAMETER INTERFACE 256 STRING "ALL" "Interface to start logging on - ALL starts logging on all interfaces"
|
13
|
+
APPEND_PARAMETER LABEL 0 STRING "" "Optional label to place on log files"
|
14
|
+
|
15
|
+
COMMAND COSMOS STARTTLMLOG BIG_ENDIAN "Starts logging telemetry for an interface"
|
16
|
+
APPEND_PARAMETER SYNC 32 UINT 0x1ACFFC1D 0x1ACFFC1D 0x1ACFFC1D "COSMOS Command Sync Pattern"
|
17
|
+
APPEND_ID_PARAMETER OPCODE 32 UINT 4 4 4 "COSMOS Command Opcode"
|
18
|
+
APPEND_PARAMETER LENGTH 32 UINT 0 65536 3 "COSMOS Command Length of Command Data in Bytes"
|
19
|
+
APPEND_PARAMETER INTERFACE 256 STRING "ALL" "Interface to start logging on - ALL starts logging on all interfaces"
|
20
|
+
APPEND_PARAMETER LABEL 0 STRING "" "Optional label to place on log files"
|
21
|
+
|
22
|
+
COMMAND COSMOS STOPLOGGING BIG_ENDIAN "Stops logging both commands and telemetry for an interface"
|
23
|
+
APPEND_PARAMETER SYNC 32 UINT 0x1ACFFC1D 0x1ACFFC1D 0x1ACFFC1D "COSMOS Command Sync Pattern"
|
24
|
+
APPEND_ID_PARAMETER OPCODE 32 UINT 5 5 5 "COSMOS Command Opcode"
|
25
|
+
APPEND_PARAMETER LENGTH 32 UINT 0 65536 3 "COSMOS Command Length of Command Data in Bytes"
|
26
|
+
APPEND_PARAMETER INTERFACE 256 STRING "ALL" "Interface to stop logging on - ALL stops logging on all interfaces"
|
27
|
+
APPEND_PARAMETER LABEL 0 STRING "" "Optional label to place on log files"
|
28
|
+
|
29
|
+
COMMAND COSMOS STOPCMDLOG BIG_ENDIAN "Stops logging commands for an interface"
|
30
|
+
APPEND_PARAMETER SYNC 32 UINT 0x1ACFFC1D 0x1ACFFC1D 0x1ACFFC1D "COSMOS Command Sync Pattern"
|
31
|
+
APPEND_ID_PARAMETER OPCODE 32 UINT 6 6 6 "COSMOS Command Opcode"
|
32
|
+
APPEND_PARAMETER LENGTH 32 UINT 0 65536 3 "COSMOS Command Length of Command Data in Bytes"
|
33
|
+
APPEND_PARAMETER INTERFACE 256 STRING "ALL" "Interface to stop logging on - ALL stops logging on all interfaces"
|
34
|
+
APPEND_PARAMETER LABEL 0 STRING "" "Optional label to place on log files"
|
35
|
+
|
36
|
+
COMMAND COSMOS STOPTLMLOG BIG_ENDIAN "Stops logging telemetry for an interface"
|
37
|
+
APPEND_PARAMETER SYNC 32 UINT 0x1ACFFC1D 0x1ACFFC1D 0x1ACFFC1D "COSMOS Command Sync Pattern"
|
38
|
+
APPEND_ID_PARAMETER OPCODE 32 UINT 7 7 7 "COSMOS Command Opcode"
|
39
|
+
APPEND_PARAMETER LENGTH 32 UINT 0 65536 3 "COSMOS Command Length of Command Data in Bytes"
|
40
|
+
APPEND_PARAMETER INTERFACE 256 STRING "ALL" "Interface to stop logging on - ALL stops logging on all interfaces"
|
41
|
+
APPEND_PARAMETER LABEL 0 STRING "" "Optional label to place on log files"
|
@@ -0,0 +1,15 @@
|
|
1
|
+
TELEMETRY COSMOS VERSION BIG_ENDIAN "COSMOS version information"
|
2
|
+
APPEND_ID_ITEM PKT_ID 8 UINT 1 "Packet ID"
|
3
|
+
APPEND_ITEM COSMOS 240 STRING "COSMOS version"
|
4
|
+
APPEND_ITEM RUBY 240 STRING "Ruby version"
|
5
|
+
APPEND_ITEM CTDB 240 STRING "Command Telemetry Database Version"
|
6
|
+
APPEND_ITEM USER 240 STRING "User Version"
|
7
|
+
|
8
|
+
TELEMETRY COSMOS LIMITS_CHANGE BIG_ENDIAN "COSMOS limits change"
|
9
|
+
APPEND_ID_ITEM PKT_ID 8 UINT 2 "Packet ID"
|
10
|
+
APPEND_ITEM TARGET 240 STRING "Target name"
|
11
|
+
APPEND_ITEM PACKET 240 STRING "Packet name"
|
12
|
+
APPEND_ITEM ITEM 240 STRING "Item that changed limits state"
|
13
|
+
APPEND_ITEM OLD_STATE 240 STRING "The old limit state"
|
14
|
+
APPEND_ITEM NEW_STATE 240 STRING "The new limit state"
|
15
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
SCREEN AUTO AUTO 0.5
|
2
|
+
|
3
|
+
VERTICAL
|
4
|
+
|
5
|
+
TITLE "COSMOS Limits Change"
|
6
|
+
SETTING BACKCOLOR 162 181 205
|
7
|
+
SETTING TEXTCOLOR black
|
8
|
+
|
9
|
+
LABELVALUE COSMOS LIMITS_CHANGE RECEIVED_TIMESECONDS WITH_UNITS 30
|
10
|
+
LABELVALUE COSMOS LIMITS_CHANGE RECEIVED_TIMEFORMATTED WITH_UNITS 30
|
11
|
+
LABELVALUE COSMOS LIMITS_CHANGE RECEIVED_COUNT WITH_UNITS 30
|
12
|
+
LABELVALUE COSMOS LIMITS_CHANGE pkt_id WITH_UNITS 30
|
13
|
+
LABELVALUE COSMOS LIMITS_CHANGE target WITH_UNITS 30
|
14
|
+
LABELVALUE COSMOS limits_change PACKET WITH_UNITS 30
|
15
|
+
LABELVALUE COSMOS limits_change ITEM WITH_UNITS 30
|
16
|
+
LABELVALUE cosmos LIMITS_CHANGE OLD_STATE WITH_UNITS 30
|
17
|
+
LABELVALUE cosmos LIMITS_CHANGE NEW_STATE WITH_UNITS 30
|
18
|
+
END
|
19
|
+
|
20
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
SCREEN AUTO AUTO 0.5
|
2
|
+
|
3
|
+
VERTICAL
|
4
|
+
|
5
|
+
TITLE "COSMOS Version"
|
6
|
+
SETTING BACKCOLOR 162 181 205
|
7
|
+
SETTING TEXTCOLOR black
|
8
|
+
|
9
|
+
LABELVALUE COSMOS VERSION RECEIVED_TIMESECONDS WITH_UNITS 30
|
10
|
+
LABELVALUE COSMOS VERSION RECEIVED_TIMEFORMATTED WITH_UNITS 30
|
11
|
+
LABELVALUE COSMOS VERSION RECEIVED_COUNT WITH_UNITS 30
|
12
|
+
LABELVALUE COSMOS VERSION PKT_ID WITH_UNITS 30
|
13
|
+
LABELVALUE COSMOS VERSION COSMOS WITH_UNITS 30
|
14
|
+
LABELVALUE COSMOS VERSION RUBY WITH_UNITS 30
|
15
|
+
LABELVALUE COSMOS VERSION CTDB WITH_UNITS 30
|
16
|
+
LABELVALUE COSMOS VERSION USER WITH_UNITS 30
|
17
|
+
END
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Ignored Parameters
|
2
|
+
# IGNORE_PARAMETER parameter_name
|
3
|
+
IGNORE_PARAMETER SYNC
|
4
|
+
IGNORE_PARAMETER OPCODE
|
5
|
+
IGNORE_PARAMETER LENGTH
|
6
|
+
|
7
|
+
IGNORE_ITEM RECEIVED_COUNT
|
8
|
+
IGNORE_ITEM RECEIVED_TIMESECONDS
|
9
|
+
IGNORE_ITEM RECEIVED_TIMEFORMATTED
|
10
|
+
|
11
|
+
AUTO_SCREEN_SUBSTITUTE
|
@@ -0,0 +1,17 @@
|
|
1
|
+
COMMAND EXAMPLE START BIG_ENDIAN "Starts something on the example target"
|
2
|
+
APPEND_ID_PARAMETER PACKET_ID 8 UINT 1 1 1 "Packet id"
|
3
|
+
APPEND_PARAMETER INT8 8 UINT -128 127 50
|
4
|
+
APPEND_PARAMETER UINT8 8 UINT 0 255 200
|
5
|
+
APPEND_PARAMETER INT16 16 UINT -32768 32767 30000
|
6
|
+
APPEND_PARAMETER UINT16 16 UINT 0 65535 0xF00D
|
7
|
+
APPEND_PARAMETER INT32 32 UINT -2000000 2000000 1000000
|
8
|
+
APPEND_PARAMETER UINT32 32 UINT 0 0xFFFFFFFF 0xDEADBEEF
|
9
|
+
APPEND_PARAMETER INT64 64 UINT -4000000000 4000000000 2000000000
|
10
|
+
APPEND_PARAMETER UINT64 64 UINT 0 0xFFFFFFFFFFFFFFFF 0xBA5EBA11F005BA11
|
11
|
+
APPEND_PARAMETER 1FLOAT32 32 FLOAT 0 1000000 12.345678
|
12
|
+
APPEND_PARAMETER 2FLOAT32 32 FLOAT 0 1000000 23.456789
|
13
|
+
APPEND_PARAMETER FLOAT64 64 FLOAT 0 10000000 34.567890
|
14
|
+
APPEND_PARAMETER 3FLOAT32 32 FLOAT 0 1000000 12.345678
|
15
|
+
APPEND_PARAMETER 4FLOAT32 32 FLOAT 0 1000000 12.345678
|
16
|
+
APPEND_PARAMETER 5FLOAT32 32 FLOAT 0 1000000 12.345678
|
17
|
+
APPEND_PARAMETER 6FLOAT32 32 FLOAT 0 1000000 12.345678
|
@@ -0,0 +1,18 @@
|
|
1
|
+
TELEMETRY EXAMPLE STATUS BIG_ENDIAN "Health and status from the instrument"
|
2
|
+
APPEND_ID_ITEM PACKET_ID 8 UINT 1 "Packet id"
|
3
|
+
APPEND_ITEM INT8 8 UINT
|
4
|
+
APPEND_ITEM UINT8 8 UINT
|
5
|
+
APPEND_ITEM INT16 16 UINT
|
6
|
+
APPEND_ITEM UINT16 16 UINT
|
7
|
+
APPEND_ITEM INT32 32 UINT
|
8
|
+
APPEND_ITEM UINT32 32 UINT
|
9
|
+
APPEND_ITEM INT64 64 UINT
|
10
|
+
APPEND_ITEM UINT64 64 UINT
|
11
|
+
APPEND_ITEM 1FLOAT32 32 FLOAT
|
12
|
+
APPEND_ITEM 2FLOAT32 32 FLOAT
|
13
|
+
APPEND_ITEM FLOAT64 64 FLOAT
|
14
|
+
APPEND_ITEM 3FLOAT32 32 FLOAT
|
15
|
+
APPEND_ITEM 4FLOAT32 32 FLOAT
|
16
|
+
APPEND_ITEM 5FLOAT32 32 FLOAT
|
17
|
+
APPEND_ITEM 6FLOAT32 32 FLOAT
|
18
|
+
APPEND_ITEM STRING 0 STRING "Time string"
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# encoding: ascii-8bit
|
2
|
+
|
3
|
+
# Copyright 2014 Ball Aerospace & Technologies Corp.
|
4
|
+
# All Rights Reserved.
|
5
|
+
#
|
6
|
+
# This program is free software; you can modify and/or redistribute it
|
7
|
+
# under the terms of the GNU General Public License
|
8
|
+
# as published by the Free Software Foundation; version 3 with
|
9
|
+
# attribution addendums as found in the LICENSE.txt
|
10
|
+
|
11
|
+
require 'cosmos'
|
12
|
+
require 'cosmos/interfaces/tcpip_client_interface'
|
13
|
+
|
14
|
+
class ExampleInterface < Cosmos::TcpipClientInterface
|
15
|
+
def initialize (hostname, port, write_timeout = 10.0, read_timeout = nil)
|
16
|
+
super(hostname, port, port, write_timeout, read_timeout, 'LENGTH', 0, 32, 4, 1, 'BIG_ENDIAN', 4)
|
17
|
+
end
|
18
|
+
|
19
|
+
def pre_write_packet(packet)
|
20
|
+
[packet.length].pack('N') << packet.buffer
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,34 @@
|
|
1
|
+
TITLE 'COSMOS Command and Telemetry Server - Demo Configuration'
|
2
|
+
|
3
|
+
PACKET_LOG_WRITER DEFAULT meta_packet_log_writer.rb META DATA config/data/meta_init.txt
|
4
|
+
PACKET_LOG_WRITER COSMOSLOG packet_log_writer.rb cosmos
|
5
|
+
|
6
|
+
# AUTO_INTERFACE_TARGETS # Use cmd_tlm_server.txt from all targets declared in system.txt
|
7
|
+
|
8
|
+
INTERFACE_TARGET INST cmd_tlm_server.txt # Use cmd_tlm_server.txt in target package
|
9
|
+
|
10
|
+
INTERFACE INST2_INT simulated_target_interface.rb sim_inst.rb
|
11
|
+
TARGET INST2
|
12
|
+
DONT_LOG
|
13
|
+
|
14
|
+
INTERFACE_TARGET EXAMPLE cmd_tlm_server.txt # Use cmd_tlm_server.txt in target package
|
15
|
+
|
16
|
+
INTERFACE COSMOS_INT cmd_tlm_server_interface.rb
|
17
|
+
TARGET COSMOS
|
18
|
+
DISABLE_DISCONNECT
|
19
|
+
LOG COSMOSLOG
|
20
|
+
# DONT_LOG
|
21
|
+
# DONT_CONNECT
|
22
|
+
# DONT_RECONNECT
|
23
|
+
# RECONNECT_DELAY 15.0
|
24
|
+
# LOG_RAW
|
25
|
+
|
26
|
+
ROUTER INST_ROUTER tcpip_server_interface.rb 3055 3055 10.0 nil LENGTH 32 16 7
|
27
|
+
ROUTE INST_INT
|
28
|
+
# DONT_CONNECT
|
29
|
+
# DONT_RECONNECT
|
30
|
+
# DISABLE_DISCONNECT
|
31
|
+
# RECONNECT_DELAY 15.0
|
32
|
+
# LOG_RAW
|
33
|
+
|
34
|
+
BACKGROUND_TASK example_background_task.rb
|
@@ -0,0 +1,68 @@
|
|
1
|
+
TITLE 'COSMOS Command and Telemetry Server - Demo Configuration'
|
2
|
+
|
3
|
+
PACKET_LOG_WRITER DEFAULT packet_log_writer.rb
|
4
|
+
|
5
|
+
INTERFACE 9999_INT example_interface.rb localhost 9999
|
6
|
+
TARGET 9999
|
7
|
+
INTERFACE 9998_INT example_interface.rb localhost 9998
|
8
|
+
TARGET 9998
|
9
|
+
INTERFACE 9997_INT example_interface.rb localhost 9997
|
10
|
+
TARGET 9997
|
11
|
+
INTERFACE 9996_INT example_interface.rb localhost 9996
|
12
|
+
TARGET 9996
|
13
|
+
INTERFACE 9995_INT example_interface.rb localhost 9995
|
14
|
+
TARGET 9995
|
15
|
+
INTERFACE 9994_INT example_interface.rb localhost 9994
|
16
|
+
TARGET 9994
|
17
|
+
INTERFACE 9993_INT example_interface.rb localhost 9993
|
18
|
+
TARGET 9993
|
19
|
+
INTERFACE 9992_INT example_interface.rb localhost 9992
|
20
|
+
TARGET 9992
|
21
|
+
INTERFACE 9991_INT example_interface.rb localhost 9991
|
22
|
+
TARGET 9991
|
23
|
+
INTERFACE 9990_INT example_interface.rb localhost 9990
|
24
|
+
TARGET 9990
|
25
|
+
INTERFACE 9989_INT example_interface.rb localhost 9989
|
26
|
+
TARGET 9989
|
27
|
+
INTERFACE 9988_INT example_interface.rb localhost 9988
|
28
|
+
TARGET 9988
|
29
|
+
INTERFACE 9987_INT example_interface.rb localhost 9987
|
30
|
+
TARGET 9987
|
31
|
+
INTERFACE 9986_INT example_interface.rb localhost 9986
|
32
|
+
TARGET 9986
|
33
|
+
INTERFACE 9985_INT example_interface.rb localhost 9985
|
34
|
+
TARGET 9985
|
35
|
+
INTERFACE 9984_INT example_interface.rb localhost 9984
|
36
|
+
TARGET 9984
|
37
|
+
INTERFACE 9983_INT example_interface.rb localhost 9983
|
38
|
+
TARGET 9983
|
39
|
+
INTERFACE 9982_INT example_interface.rb localhost 9982
|
40
|
+
TARGET 9982
|
41
|
+
INTERFACE 9981_INT example_interface.rb localhost 9981
|
42
|
+
TARGET 9981
|
43
|
+
INTERFACE 9980_INT example_interface.rb localhost 9980
|
44
|
+
TARGET 9980
|
45
|
+
INTERFACE 9979_INT example_interface.rb localhost 9979
|
46
|
+
TARGET 9979
|
47
|
+
INTERFACE 9978_INT example_interface.rb localhost 9978
|
48
|
+
TARGET 9978
|
49
|
+
INTERFACE 9977_INT example_interface.rb localhost 9977
|
50
|
+
TARGET 9977
|
51
|
+
INTERFACE 9976_INT example_interface.rb localhost 9976
|
52
|
+
TARGET 9976
|
53
|
+
INTERFACE 9975_INT example_interface.rb localhost 9975
|
54
|
+
TARGET 9975
|
55
|
+
INTERFACE 9974_INT example_interface.rb localhost 9974
|
56
|
+
TARGET 9974
|
57
|
+
INTERFACE 9973_INT example_interface.rb localhost 9973
|
58
|
+
TARGET 9973
|
59
|
+
INTERFACE 9972_INT example_interface.rb localhost 9972
|
60
|
+
TARGET 9972
|
61
|
+
INTERFACE 9971_INT example_interface.rb localhost 9971
|
62
|
+
TARGET 9971
|
63
|
+
INTERFACE 9970_INT example_interface.rb localhost 9970
|
64
|
+
TARGET 9970
|
65
|
+
|
66
|
+
INTERFACE COSMOS_INT cmd_tlm_server_interface.rb
|
67
|
+
TARGET COSMOS
|
68
|
+
DISABLE_DISCONNECT
|