cosmos 4.2.3-java → 4.2.4-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +2 -0
- data/Manifest.txt +14 -1
- data/bin/dart_util +4 -0
- data/cosmos.gemspec +3 -2
- data/data/config/interface_modifiers.yaml +2 -1
- data/data/config/item_modifiers.yaml +1 -1
- data/data/config/parameter_modifiers.yaml +1 -1
- data/data/crc.txt +52 -45
- data/demo/config/data/crc.txt +6 -1
- data/demo/config/system/system.txt +1 -0
- data/demo/config/targets/DART/cmd_tlm/dart_cmds.txt +2 -0
- data/demo/config/targets/DART/cmd_tlm/dart_tlm.txt +40 -0
- data/demo/config/targets/DART/cmd_tlm_server.txt +6 -0
- data/demo/config/targets/DART/screens/status.txt +54 -0
- data/demo/config/targets/DART/target.txt +7 -0
- data/ext/cosmos/ext/structure/structure.c +16 -4
- data/lib/cosmos/dart/app/models/status.rb +2 -0
- data/lib/cosmos/dart/db/migrate/20180423205644_create_statuses.rb +22 -0
- data/lib/cosmos/dart/db/migrate/20180425211340_add_decom_state_index.rb +5 -0
- data/lib/cosmos/dart/db/migrate/20180509204705_remove_indexes.rb +29 -0
- data/lib/cosmos/dart/db/migrate/20180510160002_remove_timestamps_from_ples.rb +6 -0
- data/lib/cosmos/dart/db/migrate/20180511194944_add_packet_log_id_to_tables.rb +18 -0
- data/lib/cosmos/dart/db/schema.rb +15 -9
- data/lib/cosmos/dart/db/seeds.rb +8 -0
- data/lib/cosmos/dart/lib/dart_common.rb +5 -6
- data/lib/cosmos/dart/lib/dart_database_cleaner.rb +56 -5
- data/lib/cosmos/dart/lib/dart_decom_query.rb +108 -6
- data/lib/cosmos/dart/lib/dart_decommutator.rb +81 -22
- data/lib/cosmos/dart/lib/dart_importer.rb +44 -14
- data/lib/cosmos/dart/lib/dart_packet_log_writer.rb +73 -55
- data/lib/cosmos/dart/lib/dart_reducer_manager.rb +34 -3
- data/lib/cosmos/dart/lib/dart_reducer_worker_thread.rb +18 -7
- data/lib/cosmos/dart/processes/dart.rb +2 -1
- data/lib/cosmos/dart/processes/dart_decom_server.rb +2 -1
- data/lib/cosmos/dart/processes/dart_import.rb +1 -0
- data/lib/cosmos/dart/processes/dart_ingester.rb +1 -0
- data/lib/cosmos/dart/processes/dart_reducer.rb +1 -0
- data/lib/cosmos/dart/processes/dart_stream_server.rb +1 -0
- data/lib/cosmos/dart/processes/dart_util.rb +147 -0
- data/lib/cosmos/dart/processes/dart_worker.rb +1 -0
- data/lib/cosmos/dart/spec/dart/dart_database_cleaner_spec.rb +1 -1
- data/lib/cosmos/dart/spec/dart/dart_decom_query_spec.rb +1 -0
- data/lib/cosmos/dart/spec/dart/dart_decommutator_spec.rb +1 -0
- data/lib/cosmos/dart/spec/dart/dart_importer_spec.rb +1 -0
- data/lib/cosmos/dart/spec/dart/dart_packet_log_writer_spec.rb +39 -36
- data/lib/cosmos/dart/spec/dart/dart_reducer_manager_spec.rb +2 -1
- data/lib/cosmos/dart/spec/dart/dart_tcpip_server_interface_spec.rb +1 -2
- data/lib/cosmos/gui/widgets/dart_meta_frame.rb +13 -6
- data/lib/cosmos/interfaces.rb +1 -0
- data/lib/cosmos/interfaces/dart_status_interface.rb +91 -0
- data/lib/cosmos/interfaces/serial_interface.rb +5 -1
- data/lib/cosmos/io/json_drb.rb +7 -2
- data/lib/cosmos/io/json_drb_object.rb +11 -6
- data/lib/cosmos/io/json_rpc.rb +1 -0
- data/lib/cosmos/io/posix_serial_driver.rb +4 -2
- data/lib/cosmos/io/serial_driver.rb +8 -4
- data/lib/cosmos/io/win32_serial_driver.rb +4 -3
- data/lib/cosmos/packets/packet_config.rb +12 -2
- data/lib/cosmos/packets/structure_item.rb +1 -0
- data/lib/cosmos/script/extract.rb +4 -2
- data/lib/cosmos/streams/serial_stream.rb +10 -5
- data/lib/cosmos/tools/cmd_tlm_server/cmd_tlm_server_config.rb +15 -15
- data/lib/cosmos/tools/cmd_tlm_server/gui/status_tab.rb +1 -1
- data/lib/cosmos/tools/table_manager/table_manager.rb +6 -4
- data/lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_dart_thread.rb +5 -4
- data/lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_logfile_thread.rb +1 -1
- data/lib/cosmos/top_level.rb +1 -1
- data/lib/cosmos/version.rb +4 -4
- data/spec/interfaces/serial_interface_spec.rb +13 -0
- data/spec/io/json_rpc_spec.rb +7 -0
- data/spec/io/win32_serial_driver_spec.rb +8 -0
- data/spec/packets/structure_item_spec.rb +6 -0
- data/spec/script/extract_spec.rb +5 -0
- data/spec/tools/cmd_tlm_server/cmd_tlm_server_config_spec.rb +10 -0
- metadata +17 -3
- data/lib/cosmos/dart/app/helpers/application_helper.rb +0 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc2dff587d1c5bc8ccb24a070a1ff9731e67b7599ab8ed1ffe496929697e3a5b
|
4
|
+
data.tar.gz: 537225704be2e457a18127f3ad8eda3ea829b385bc6c6fa6828d18a464274504
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4748a05032f1bb973e35df912cc4e1aacd353b7245a476fbf053739a2017e03c9fde82300935b834cac9f49a024cc6bd5197529c6e81c0daf4e69bfc673cd40d
|
7
|
+
data.tar.gz: 88174477f73af6b780ef658f130f86c2bdada492353b57fdfd7e9035baf1afbf3ee5c154cb6e6f4168499188d829957e3d4c81a8529fb71f41aff61a45b26b87
|
data/.gitignore
CHANGED
data/Manifest.txt
CHANGED
@@ -211,6 +211,7 @@ autohotkey/tools/tool_launch.rb
|
|
211
211
|
bin/cosmos
|
212
212
|
bin/cstol_converter
|
213
213
|
bin/dart_import
|
214
|
+
bin/dart_util
|
214
215
|
bin/exchndl20-x64.dll
|
215
216
|
bin/exchndl20.dll
|
216
217
|
bin/exchndl21-x64.dll
|
@@ -368,6 +369,11 @@ demo/config/data/vswitchoff.gif
|
|
368
369
|
demo/config/data/vswitchon.gif
|
369
370
|
demo/config/system/system.txt
|
370
371
|
demo/config/system/system2.txt
|
372
|
+
demo/config/targets/DART/cmd_tlm/dart_cmds.txt
|
373
|
+
demo/config/targets/DART/cmd_tlm/dart_tlm.txt
|
374
|
+
demo/config/targets/DART/cmd_tlm_server.txt
|
375
|
+
demo/config/targets/DART/screens/status.txt
|
376
|
+
demo/config/targets/DART/target.txt
|
371
377
|
demo/config/targets/EXAMPLE/cmd_tlm/example_cmds.txt
|
372
378
|
demo/config/targets/EXAMPLE/cmd_tlm/example_tlm.txt
|
373
379
|
demo/config/targets/EXAMPLE/cmd_tlm_server.txt
|
@@ -901,7 +907,6 @@ lib/cosmos/dart/app/assets/stylesheets/application.css.scss
|
|
901
907
|
lib/cosmos/dart/app/channels/application_cable/channel.rb
|
902
908
|
lib/cosmos/dart/app/channels/application_cable/connection.rb
|
903
909
|
lib/cosmos/dart/app/controllers/application_controller.rb
|
904
|
-
lib/cosmos/dart/app/helpers/application_helper.rb
|
905
910
|
lib/cosmos/dart/app/jobs/application_job.rb
|
906
911
|
lib/cosmos/dart/app/mailers/application_mailer.rb
|
907
912
|
lib/cosmos/dart/app/models/application_record.rb
|
@@ -911,6 +916,7 @@ lib/cosmos/dart/app/models/packet.rb
|
|
911
916
|
lib/cosmos/dart/app/models/packet_config.rb
|
912
917
|
lib/cosmos/dart/app/models/packet_log.rb
|
913
918
|
lib/cosmos/dart/app/models/packet_log_entry.rb
|
919
|
+
lib/cosmos/dart/app/models/status.rb
|
914
920
|
lib/cosmos/dart/app/models/system_config.rb
|
915
921
|
lib/cosmos/dart/app/models/target.rb
|
916
922
|
lib/cosmos/dart/app/views/layouts/application.html.erb
|
@@ -968,6 +974,11 @@ lib/cosmos/dart/db/migrate/20170919201433_add_system_config_id_to_packet_config.
|
|
968
974
|
lib/cosmos/dart/db/migrate/20170919210307_add_max_table_index_to_packet_configs.rb
|
969
975
|
lib/cosmos/dart/db/migrate/20171215225546_add_ready_to_packet_log_entries.rb
|
970
976
|
lib/cosmos/dart/db/migrate/20180116214338_add_index_for_ple_ready_to_packet_log_entries.rb
|
977
|
+
lib/cosmos/dart/db/migrate/20180423205644_create_statuses.rb
|
978
|
+
lib/cosmos/dart/db/migrate/20180425211340_add_decom_state_index.rb
|
979
|
+
lib/cosmos/dart/db/migrate/20180509204705_remove_indexes.rb
|
980
|
+
lib/cosmos/dart/db/migrate/20180510160002_remove_timestamps_from_ples.rb
|
981
|
+
lib/cosmos/dart/db/migrate/20180511194944_add_packet_log_id_to_tables.rb
|
971
982
|
lib/cosmos/dart/db/schema.rb
|
972
983
|
lib/cosmos/dart/db/seeds.rb
|
973
984
|
lib/cosmos/dart/examples/dart_decom_client.rb
|
@@ -988,6 +999,7 @@ lib/cosmos/dart/processes/dart_import.rb
|
|
988
999
|
lib/cosmos/dart/processes/dart_ingester.rb
|
989
1000
|
lib/cosmos/dart/processes/dart_reducer.rb
|
990
1001
|
lib/cosmos/dart/processes/dart_stream_server.rb
|
1002
|
+
lib/cosmos/dart/processes/dart_util.rb
|
991
1003
|
lib/cosmos/dart/processes/dart_worker.rb
|
992
1004
|
lib/cosmos/dart/spec/dart/dart_common_spec.rb
|
993
1005
|
lib/cosmos/dart/spec/dart/dart_database_cleaner_spec.rb
|
@@ -1066,6 +1078,7 @@ lib/cosmos/gui/widgets/packet_log_frame.rb
|
|
1066
1078
|
lib/cosmos/gui/widgets/realtime_button_bar.rb
|
1067
1079
|
lib/cosmos/interfaces.rb
|
1068
1080
|
lib/cosmos/interfaces/cmd_tlm_server_interface.rb
|
1081
|
+
lib/cosmos/interfaces/dart_status_interface.rb
|
1069
1082
|
lib/cosmos/interfaces/interface.rb
|
1070
1083
|
lib/cosmos/interfaces/linc_interface.rb
|
1071
1084
|
lib/cosmos/interfaces/protocols/burst_protocol.rb
|
data/bin/dart_util
ADDED
data/cosmos.gemspec
CHANGED
@@ -45,6 +45,7 @@ spec = Gem::Specification.new do |s|
|
|
45
45
|
s.executables << 'cstol_converter'
|
46
46
|
s.executables << 'xtce_converter'
|
47
47
|
s.executables << 'dart_import'
|
48
|
+
s.executables << 'dart_util'
|
48
49
|
|
49
50
|
if RUBY_ENGINE == 'ruby'
|
50
51
|
# Ruby C Extensions - MRI Only
|
@@ -95,11 +96,11 @@ spec = Gem::Specification.new do |s|
|
|
95
96
|
s.add_runtime_dependency 'httpclient', '~> 2.8'
|
96
97
|
|
97
98
|
# From http://www.rubydoc.info/gems/puma#Known_Bugs :
|
98
|
-
# "For MRI versions 2.2.7, 2.2.8, 2.3.4 and 2.4.1, you may see stream closed in
|
99
|
+
# "For MRI versions 2.2.7, 2.2.8, 2.2.9, 2.2.10, 2.3.4 and 2.4.1, you may see stream closed in
|
99
100
|
# another thread (IOError). It may be caused by a Ruby bug. It can be
|
100
101
|
# fixed with the gem https://rubygems.org/gems/stopgap_13632"
|
101
102
|
# This is commented out because the gemspec is only evaluated at gem build time
|
102
|
-
# s.add_runtime_dependency 'stopgap_13632', '~> 1.
|
103
|
+
# s.add_runtime_dependency 'stopgap_13632', '~> 1.2.0' if RUBY_ENGINE == 'ruby' and %w(2.2.7 2.2.8 2.3.4 2.4.1).include? RUBY_VERSION # MRI Only
|
103
104
|
|
104
105
|
# Development Dependencies
|
105
106
|
s.add_development_dependency 'diff-lcs', '~> 1.3' if RUBY_ENGINE == 'ruby' # Get latest for MRI
|
@@ -73,7 +73,8 @@ OPTION:
|
|
73
73
|
- name: Name
|
74
74
|
required: true
|
75
75
|
description: The option to set. COSMOS defines several options on the core provided
|
76
|
-
interfaces. The SerialInterface defines FLOW_CONTROL which can be NONE (default) or RTSCTS
|
76
|
+
interfaces. The SerialInterface defines FLOW_CONTROL which can be NONE (default) or RTSCTS
|
77
|
+
and DATA_BITS which changes the data bits of the serial interface.
|
77
78
|
The TcpipServerInterface defines LISTEN_ADDRESS which is the IP address to accept
|
78
79
|
connections on (default 0.0.0.0) and AUTO_SYSTEM_META which will automatically send
|
79
80
|
SYSTEM META when the interface connects (default false).
|
data/data/crc.txt
CHANGED
@@ -1,13 +1,13 @@
|
|
1
|
-
"lib/cosmos/io/json_drb.rb"
|
2
|
-
"lib/cosmos/io/win32_serial_driver.rb"
|
1
|
+
"lib/cosmos/io/json_drb.rb" 0x93ACD01A
|
2
|
+
"lib/cosmos/io/win32_serial_driver.rb" 0x8A4CC83B
|
3
3
|
"lib/cosmos/io/io_multiplexer.rb" 0x9C3213AD
|
4
4
|
"lib/cosmos/io/stderr.rb" 0x401624AF
|
5
|
-
"lib/cosmos/io/json_rpc.rb"
|
5
|
+
"lib/cosmos/io/json_rpc.rb" 0xD1BDF2D2
|
6
6
|
"lib/cosmos/io/raw_logger.rb" 0xAAB59AB0
|
7
7
|
"lib/cosmos/io/stdout.rb" 0xAC9CC4B1
|
8
|
-
"lib/cosmos/io/serial_driver.rb"
|
9
|
-
"lib/cosmos/io/json_drb_object.rb"
|
10
|
-
"lib/cosmos/io/posix_serial_driver.rb"
|
8
|
+
"lib/cosmos/io/serial_driver.rb" 0x0575F492
|
9
|
+
"lib/cosmos/io/json_drb_object.rb" 0x8A6DF749
|
10
|
+
"lib/cosmos/io/posix_serial_driver.rb" 0x355CC51E
|
11
11
|
"lib/cosmos/io/buffered_file.rb" 0x031BC078
|
12
12
|
"lib/cosmos/io/raw_logger_pair.rb" 0x7A0A3F00
|
13
13
|
"lib/cosmos/io/cosmos_snmp.rb" 0x64541158
|
@@ -18,7 +18,7 @@
|
|
18
18
|
"lib/cosmos/processors/processor.rb" 0x1FEB7030
|
19
19
|
"lib/cosmos/processors/statistics_processor.rb" 0x514E4788
|
20
20
|
"lib/cosmos/processors/watermark_processor.rb" 0x8829E260
|
21
|
-
"lib/cosmos/version.rb"
|
21
|
+
"lib/cosmos/version.rb" 0xB27EDA3B
|
22
22
|
"lib/cosmos/conversions/new_packet_log_conversion.rb" 0x4AA03555
|
23
23
|
"lib/cosmos/conversions/segmented_polynomial_conversion.rb" 0xC498CE81
|
24
24
|
"lib/cosmos/conversions/processor_conversion.rb" 0xC72B73BD
|
@@ -42,7 +42,7 @@
|
|
42
42
|
"lib/cosmos/gui/widgets/packet_log_frame.rb" 0x6C375FAD
|
43
43
|
"lib/cosmos/gui/widgets/full_text_search_line_edit.rb" 0x0FD4B1E9
|
44
44
|
"lib/cosmos/gui/widgets/dart_frame.rb" 0xF9F9F7E7
|
45
|
-
"lib/cosmos/gui/widgets/dart_meta_frame.rb"
|
45
|
+
"lib/cosmos/gui/widgets/dart_meta_frame.rb" 0x1C42D724
|
46
46
|
"lib/cosmos/gui/widgets/realtime_button_bar.rb" 0x05757FB6
|
47
47
|
"lib/cosmos/gui/dialogs/set_tlm_dialog.rb" 0x61B98717
|
48
48
|
"lib/cosmos/gui/dialogs/interface_raw_dialog.rb" 0xB3CBF46E
|
@@ -110,21 +110,21 @@
|
|
110
110
|
"lib/cosmos/packets/structure.rb" 0x4FB5B8D5
|
111
111
|
"lib/cosmos/packets/commands.rb" 0x36F95A2A
|
112
112
|
"lib/cosmos/packets/limits_response.rb" 0xB836D388
|
113
|
-
"lib/cosmos/packets/packet_config.rb"
|
113
|
+
"lib/cosmos/packets/packet_config.rb" 0x51D257E5
|
114
114
|
"lib/cosmos/packets/packet_item.rb" 0xE0789E45
|
115
115
|
"lib/cosmos/packets/limits.rb" 0x93BE03A8
|
116
116
|
"lib/cosmos/packets/packet_item_limits.rb" 0xC4534EAB
|
117
|
-
"lib/cosmos/packets/structure_item.rb"
|
117
|
+
"lib/cosmos/packets/structure_item.rb" 0x09E467C6
|
118
118
|
"lib/cosmos/core_ext.rb" 0x1951B346
|
119
119
|
"lib/cosmos/streams/tcpip_client_stream.rb" 0xD4F3E5AE
|
120
120
|
"lib/cosmos/streams/tcpip_socket_stream.rb" 0xAC1077D0
|
121
|
-
"lib/cosmos/streams/serial_stream.rb"
|
121
|
+
"lib/cosmos/streams/serial_stream.rb" 0xEFC2C021
|
122
122
|
"lib/cosmos/streams/stream.rb" 0xE35AFB89
|
123
123
|
"lib/cosmos/processors.rb" 0x5241327D
|
124
124
|
"lib/cosmos/utilities.rb" 0xBE9CEAF4
|
125
125
|
"lib/cosmos/interfaces/udp_interface.rb" 0xE673DC8E
|
126
126
|
"lib/cosmos/interfaces/cmd_tlm_server_interface.rb" 0x8921CFC1
|
127
|
-
"lib/cosmos/interfaces/serial_interface.rb"
|
127
|
+
"lib/cosmos/interfaces/serial_interface.rb" 0x97B428D8
|
128
128
|
"lib/cosmos/interfaces/stream_interface.rb" 0x6D1676BA
|
129
129
|
"lib/cosmos/interfaces/protocols/template_protocol.rb" 0x3D431A5A
|
130
130
|
"lib/cosmos/interfaces/protocols/length_protocol.rb" 0x95412E32
|
@@ -139,6 +139,7 @@
|
|
139
139
|
"lib/cosmos/interfaces/interface.rb" 0xEC7048BE
|
140
140
|
"lib/cosmos/interfaces/linc_interface.rb" 0xA85A43C1
|
141
141
|
"lib/cosmos/interfaces/tcpip_server_interface.rb" 0x0209F6E0
|
142
|
+
"lib/cosmos/interfaces/dart_status_interface.rb" 0xE85231B8
|
142
143
|
"lib/cosmos/interfaces/tcpip_client_interface.rb" 0xE9F201A9
|
143
144
|
"lib/cosmos/packet_logs/packet_log_writer_pair.rb" 0xB4DCA156
|
144
145
|
"lib/cosmos/packet_logs/packet_log_reader.rb" 0x0BACD572
|
@@ -150,7 +151,7 @@
|
|
150
151
|
"lib/cosmos/script/replay.rb" 0xEB08C485
|
151
152
|
"lib/cosmos/script/telemetry.rb" 0x5B4B2D87
|
152
153
|
"lib/cosmos/script/commands.rb" 0x13531FE3
|
153
|
-
"lib/cosmos/script/extract.rb"
|
154
|
+
"lib/cosmos/script/extract.rb" 0x31199456
|
154
155
|
"lib/cosmos/script/api_shared.rb" 0xC26876AF
|
155
156
|
"lib/cosmos/script/cmd_tlm_server.rb" 0xF4698FA2
|
156
157
|
"lib/cosmos/script/limits.rb" 0xF8EC58DD
|
@@ -162,8 +163,8 @@
|
|
162
163
|
"lib/cosmos/win32/win32.rb" 0xBCECA922
|
163
164
|
"lib/cosmos/win32/win32_main.rb" 0x722DDE0D
|
164
165
|
"lib/cosmos/packet_logs.rb" 0xDBC544CD
|
165
|
-
"lib/cosmos/top_level.rb"
|
166
|
-
"lib/cosmos/interfaces.rb"
|
166
|
+
"lib/cosmos/top_level.rb" 0x2CCE4A7A
|
167
|
+
"lib/cosmos/interfaces.rb" 0xE9C2F3CF
|
167
168
|
"lib/cosmos/core_ext/math.rb" 0xEFD1636D
|
168
169
|
"lib/cosmos/core_ext/string.rb" 0x4F30E09A
|
169
170
|
"lib/cosmos/core_ext/matrix.rb" 0x9DDBCA0B
|
@@ -187,7 +188,7 @@
|
|
187
188
|
"lib/cosmos/tools/launcher/launcher_tool.rb" 0xE2F186A7
|
188
189
|
"lib/cosmos/tools/launcher/launcher_config.rb" 0xC89E8E85
|
189
190
|
"lib/cosmos/tools/table_manager/table_item.rb" 0x98E1F9F5
|
190
|
-
"lib/cosmos/tools/table_manager/table_manager.rb"
|
191
|
+
"lib/cosmos/tools/table_manager/table_manager.rb" 0x89F9F004
|
191
192
|
"lib/cosmos/tools/table_manager/table_config.rb" 0x96D0AD40
|
192
193
|
"lib/cosmos/tools/table_manager/table_manager_core.rb" 0xE8865A3F
|
193
194
|
"lib/cosmos/tools/table_manager/table_item_parser.rb" 0xB71F4D86
|
@@ -278,11 +279,11 @@
|
|
278
279
|
"lib/cosmos/tools/tlm_extractor/tlm_extractor_config.rb" 0x30A75DAF
|
279
280
|
"lib/cosmos/tools/cmd_tlm_server/background_tasks.rb" 0x33A9C389
|
280
281
|
"lib/cosmos/tools/cmd_tlm_server/routers.rb" 0x88B05231
|
281
|
-
"lib/cosmos/tools/cmd_tlm_server/cmd_tlm_server_config.rb"
|
282
|
+
"lib/cosmos/tools/cmd_tlm_server/cmd_tlm_server_config.rb" 0xB2E2D50B
|
282
283
|
"lib/cosmos/tools/cmd_tlm_server/replay_backend.rb" 0xEAE57D90
|
283
284
|
"lib/cosmos/tools/cmd_tlm_server/gui/targets_tab.rb" 0xE5F41E03
|
284
285
|
"lib/cosmos/tools/cmd_tlm_server/gui/logging_tab.rb" 0x32B3C46F
|
285
|
-
"lib/cosmos/tools/cmd_tlm_server/gui/status_tab.rb"
|
286
|
+
"lib/cosmos/tools/cmd_tlm_server/gui/status_tab.rb" 0xF7BF2580
|
286
287
|
"lib/cosmos/tools/cmd_tlm_server/gui/packets_tab.rb" 0xC9C99FDE
|
287
288
|
"lib/cosmos/tools/cmd_tlm_server/gui/replay_tab.rb" 0x63401F0C
|
288
289
|
"lib/cosmos/tools/cmd_tlm_server/gui/interfaces_tab.rb" 0x6CA69FAF
|
@@ -319,14 +320,14 @@
|
|
319
320
|
"lib/cosmos/tools/tlm_grapher/data_object_editors/xy_data_object_editor.rb" 0x97E1D084
|
320
321
|
"lib/cosmos/tools/tlm_grapher/data_object_editors/data_object_editor.rb" 0x6A92FD7C
|
321
322
|
"lib/cosmos/tools/tlm_grapher/data_object_editors/singlexy_data_object_editor.rb" 0xB39257A1
|
322
|
-
"lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_dart_thread.rb"
|
323
|
+
"lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_dart_thread.rb" 0x4611A032
|
323
324
|
"lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_tab.rb" 0xD0AC7888
|
324
325
|
"lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_data_object_editor.rb" 0xF016E145
|
325
326
|
"lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_realtime_thread.rb" 0x0AC5F2CA
|
326
327
|
"lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_plot_editor.rb" 0x55DDD0F5
|
327
328
|
"lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_tool.rb" 0x33035010
|
328
329
|
"lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_config.rb" 0xF301DC6E
|
329
|
-
"lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_logfile_thread.rb"
|
330
|
+
"lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_logfile_thread.rb" 0xB6035CEA
|
330
331
|
"lib/cosmos/tools/tlm_grapher/plot_editors/singlexy_plot_editor.rb" 0xA9B7CD4C
|
331
332
|
"lib/cosmos/tools/tlm_grapher/plot_editors/linegraph_plot_editor.rb" 0x38E79C34
|
332
333
|
"lib/cosmos/tools/tlm_grapher/plot_editors/xy_plot_editor.rb" 0x724D9469
|
@@ -345,25 +346,30 @@
|
|
345
346
|
"lib/cosmos/tools/script_runner/script_runner_frame.rb" 0x0C54F330
|
346
347
|
"lib/cosmos/tools/script_runner/script_audit.rb" 0xAAEFBDF7
|
347
348
|
"lib/cosmos/tools/script_runner/script_runner_config.rb" 0xD5A30025
|
348
|
-
"lib/cosmos/dart/db/seeds.rb"
|
349
|
-
"lib/cosmos/dart/db/schema.rb"
|
349
|
+
"lib/cosmos/dart/db/seeds.rb" 0xF64BB16E
|
350
|
+
"lib/cosmos/dart/db/schema.rb" 0x32C12415
|
350
351
|
"lib/cosmos/dart/db/migrate/20170919210307_add_max_table_index_to_packet_configs.rb" 0xF2B4CF5A
|
351
352
|
"lib/cosmos/dart/db/migrate/20170406172937_create_packet_logs.rb" 0x3BBBAE83
|
353
|
+
"lib/cosmos/dart/db/migrate/20180425211340_add_decom_state_index.rb" 0x0C2394BC
|
352
354
|
"lib/cosmos/dart/db/migrate/20170913212026_add_ready_to_packet_configs.rb" 0x9198251C
|
355
|
+
"lib/cosmos/dart/db/migrate/20180511194944_add_packet_log_id_to_tables.rb" 0x12C40C90
|
353
356
|
"lib/cosmos/dart/db/migrate/20170406172943_create_packet_log_entries.rb" 0xFF0DF70D
|
354
357
|
"lib/cosmos/dart/db/migrate/20170525201157_create_items.rb" 0x868BAF7F
|
355
358
|
"lib/cosmos/dart/db/migrate/20170523185056_rename_received_time_and_add_is_tlm_to_packet_log_entries.rb" 0xFCD3CF24
|
356
359
|
"lib/cosmos/dart/db/migrate/20170913160558_update_item_to_decom_table_mapping.rb" 0x5A3BC2D4
|
357
360
|
"lib/cosmos/dart/db/migrate/20171215225546_add_ready_to_packet_log_entries.rb" 0x5B91D913
|
361
|
+
"lib/cosmos/dart/db/migrate/20180509204705_remove_indexes.rb" 0x71DAE2ED
|
358
362
|
"lib/cosmos/dart/db/migrate/20170406183500_change_packet_log_entries_primary_key.rb" 0x35BF95E2
|
359
363
|
"lib/cosmos/dart/db/migrate/20170914215744_modify_mapping_table.rb" 0x9FFF7016
|
360
364
|
"lib/cosmos/dart/db/migrate/20170406172907_create_targets.rb" 0xDCC30C82
|
361
365
|
"lib/cosmos/dart/db/migrate/20170525201624_create_packet_configs.rb" 0x7F636F54
|
366
|
+
"lib/cosmos/dart/db/migrate/20180510160002_remove_timestamps_from_ples.rb" 0x9598BF27
|
362
367
|
"lib/cosmos/dart/db/migrate/20170511155447_add_meta_id_to_packet_log_entries.rb" 0xBD98A6DD
|
363
368
|
"lib/cosmos/dart/db/migrate/20170913160409_update_items.rb" 0xB90F9685
|
364
369
|
"lib/cosmos/dart/db/migrate/20170919201433_add_system_config_id_to_packet_config.rb" 0xBFA04938
|
365
370
|
"lib/cosmos/dart/db/migrate/20170406172927_create_packets.rb" 0x870D5861
|
366
371
|
"lib/cosmos/dart/db/migrate/20170525201939_create_decom_tables.rb" 0x1C52861F
|
372
|
+
"lib/cosmos/dart/db/migrate/20180423205644_create_statuses.rb" 0x28B60F19
|
367
373
|
"lib/cosmos/dart/db/migrate/20170913160916_udpate_decom_table.rb" 0x7A127727
|
368
374
|
"lib/cosmos/dart/db/migrate/20170525202051_add_decom_state_to_packet_log_entry.rb" 0x33573E83
|
369
375
|
"lib/cosmos/dart/db/migrate/20170913223556_modify_tables.rb" 0x995A4A7C
|
@@ -371,23 +377,24 @@
|
|
371
377
|
"lib/cosmos/dart/db/migrate/20170407153618_add_unique_requirements.rb" 0x8AE16542
|
372
378
|
"lib/cosmos/dart/db/migrate/20170525201315_create_system_configs.rb" 0xB9A74EEE
|
373
379
|
"lib/cosmos/dart/db/migrate/20170525201745_create_item_to_decom_table_mappings.rb" 0x190EACFF
|
374
|
-
"lib/cosmos/dart/processes/dart_decom_server.rb"
|
375
|
-
"lib/cosmos/dart/processes/dart_reducer.rb"
|
376
|
-
"lib/cosmos/dart/processes/dart_import.rb"
|
377
|
-
"lib/cosmos/dart/processes/
|
378
|
-
"lib/cosmos/dart/processes/
|
379
|
-
"lib/cosmos/dart/processes/
|
380
|
-
"lib/cosmos/dart/processes/
|
380
|
+
"lib/cosmos/dart/processes/dart_decom_server.rb" 0xA703A157
|
381
|
+
"lib/cosmos/dart/processes/dart_reducer.rb" 0x419B0669
|
382
|
+
"lib/cosmos/dart/processes/dart_import.rb" 0xDA0A2DF8
|
383
|
+
"lib/cosmos/dart/processes/dart_util.rb" 0xC2DED1FE
|
384
|
+
"lib/cosmos/dart/processes/dart_stream_server.rb" 0xDB0A685D
|
385
|
+
"lib/cosmos/dart/processes/dart.rb" 0x8DA3139C
|
386
|
+
"lib/cosmos/dart/processes/dart_ingester.rb" 0xAEF822A7
|
387
|
+
"lib/cosmos/dart/processes/dart_worker.rb" 0x276DA6C2
|
381
388
|
"lib/cosmos/dart/spec/rails_helper.rb" 0xE801021E
|
382
389
|
"lib/cosmos/dart/spec/spec_helper.rb" 0xB85BF318
|
383
|
-
"lib/cosmos/dart/spec/dart/dart_packet_log_writer_spec.rb"
|
390
|
+
"lib/cosmos/dart/spec/dart/dart_packet_log_writer_spec.rb" 0xD2570243
|
384
391
|
"lib/cosmos/dart/spec/dart/dart_logging_spec.rb" 0x3170887C
|
385
|
-
"lib/cosmos/dart/spec/dart/dart_tcpip_server_interface_spec.rb"
|
386
|
-
"lib/cosmos/dart/spec/dart/dart_importer_spec.rb"
|
387
|
-
"lib/cosmos/dart/spec/dart/dart_database_cleaner_spec.rb"
|
388
|
-
"lib/cosmos/dart/spec/dart/dart_decommutator_spec.rb"
|
389
|
-
"lib/cosmos/dart/spec/dart/dart_reducer_manager_spec.rb"
|
390
|
-
"lib/cosmos/dart/spec/dart/dart_decom_query_spec.rb"
|
392
|
+
"lib/cosmos/dart/spec/dart/dart_tcpip_server_interface_spec.rb" 0xAB801D01
|
393
|
+
"lib/cosmos/dart/spec/dart/dart_importer_spec.rb" 0x9ED47532
|
394
|
+
"lib/cosmos/dart/spec/dart/dart_database_cleaner_spec.rb" 0x5996E8BC
|
395
|
+
"lib/cosmos/dart/spec/dart/dart_decommutator_spec.rb" 0x19F4F20A
|
396
|
+
"lib/cosmos/dart/spec/dart/dart_reducer_manager_spec.rb" 0xDBDD26D2
|
397
|
+
"lib/cosmos/dart/spec/dart/dart_decom_query_spec.rb" 0x7E02A2A8
|
391
398
|
"lib/cosmos/dart/spec/dart/dart_common_spec.rb" 0xFA0D8B32
|
392
399
|
"lib/cosmos/dart/app/controllers/application_controller.rb" 0x4ACE8917
|
393
400
|
"lib/cosmos/dart/app/models/application_record.rb" 0x0B80D4D7
|
@@ -399,10 +406,10 @@
|
|
399
406
|
"lib/cosmos/dart/app/models/target.rb" 0x8AF55BCC
|
400
407
|
"lib/cosmos/dart/app/models/packet_config.rb" 0xC9C33330
|
401
408
|
"lib/cosmos/dart/app/models/item.rb" 0x15BB8EE9
|
409
|
+
"lib/cosmos/dart/app/models/status.rb" 0x638AF480
|
402
410
|
"lib/cosmos/dart/app/channels/application_cable/connection.rb" 0x2D881537
|
403
411
|
"lib/cosmos/dart/app/channels/application_cable/channel.rb" 0xC851F8A3
|
404
412
|
"lib/cosmos/dart/app/jobs/application_job.rb" 0x01B2F9B5
|
405
|
-
"lib/cosmos/dart/app/helpers/application_helper.rb" 0x544A19E7
|
406
413
|
"lib/cosmos/dart/app/mailers/application_mailer.rb" 0x36020E49
|
407
414
|
"lib/cosmos/dart/examples/dart_decom_client.rb" 0xC186C50A
|
408
415
|
"lib/cosmos/dart/examples/dart_stream_client.rb" 0x369038DC
|
@@ -424,15 +431,15 @@
|
|
424
431
|
"lib/cosmos/dart/config/puma.rb" 0x3EDCD34D
|
425
432
|
"lib/cosmos/dart/config/application.rb" 0xC41BE871
|
426
433
|
"lib/cosmos/dart/config/environment.rb" 0xF2F50C49
|
427
|
-
"lib/cosmos/dart/lib/dart_reducer_manager.rb"
|
428
|
-
"lib/cosmos/dart/lib/dart_reducer_worker_thread.rb"
|
429
|
-
"lib/cosmos/dart/lib/dart_decommutator.rb"
|
434
|
+
"lib/cosmos/dart/lib/dart_reducer_manager.rb" 0x5768FF87
|
435
|
+
"lib/cosmos/dart/lib/dart_reducer_worker_thread.rb" 0x06DB8136
|
436
|
+
"lib/cosmos/dart/lib/dart_decommutator.rb" 0x788BDC27
|
430
437
|
"lib/cosmos/dart/lib/dart_tcpip_server_interface.rb" 0xF3A295D4
|
431
|
-
"lib/cosmos/dart/lib/dart_common.rb"
|
432
|
-
"lib/cosmos/dart/lib/dart_database_cleaner.rb"
|
433
|
-
"lib/cosmos/dart/lib/dart_packet_log_writer.rb"
|
434
|
-
"lib/cosmos/dart/lib/dart_decom_query.rb"
|
435
|
-
"lib/cosmos/dart/lib/dart_importer.rb"
|
438
|
+
"lib/cosmos/dart/lib/dart_common.rb" 0x4B828C6D
|
439
|
+
"lib/cosmos/dart/lib/dart_database_cleaner.rb" 0xDED64DB8
|
440
|
+
"lib/cosmos/dart/lib/dart_packet_log_writer.rb" 0x0330E386
|
441
|
+
"lib/cosmos/dart/lib/dart_decom_query.rb" 0xD55AF757
|
442
|
+
"lib/cosmos/dart/lib/dart_importer.rb" 0x283327A8
|
436
443
|
"lib/cosmos/dart/lib/dart_logging.rb" 0xA77140B0
|
437
444
|
"lib/cosmos/conversions.rb" 0x43679D05
|
438
445
|
"lib/cosmos/script.rb" 0x25BB611B
|
data/demo/config/data/crc.txt
CHANGED
@@ -3,6 +3,11 @@
|
|
3
3
|
"lib/example_background_task.rb" 0xC4D1FF08
|
4
4
|
"lib/example_target.rb" 0x50EC8E71
|
5
5
|
"lib/user_version.rb" 0x8F282EE9
|
6
|
+
"config/targets/DART/target.txt" 0x6648EE0E
|
7
|
+
"config/targets/DART/screens/status.txt" 0xF2501240
|
8
|
+
"config/targets/DART/cmd_tlm_server.txt" 0xC8F3CF89
|
9
|
+
"config/targets/DART/cmd_tlm/dart_tlm.txt" 0xCD0DBE10
|
10
|
+
"config/targets/DART/cmd_tlm/dart_cmds.txt" 0x33D4E659
|
6
11
|
"config/targets/SYSTEM/target.txt" 0x07E82776
|
7
12
|
"config/targets/SYSTEM/screens/status.txt" 0xDB93FFA7
|
8
13
|
"config/targets/SYSTEM/cmd_tlm_server.txt" 0x8D42D962
|
@@ -77,7 +82,7 @@
|
|
77
82
|
"config/data/hselectoff.gif" 0x8A0C192E
|
78
83
|
"config/data/groundon.gif" 0x97D9A501
|
79
84
|
"config/data/vswitchon.gif" 0xD747AC45
|
80
|
-
"config/system/system.txt"
|
85
|
+
"config/system/system.txt" 0x024C5A9D
|
81
86
|
"config/system/system2.txt" 0x6CC6BC88
|
82
87
|
"config/tools/launcher/launcher2.css" 0x69DA47AB
|
83
88
|
"config/tools/launcher/launcher.txt" 0x7060F202
|
@@ -0,0 +1,40 @@
|
|
1
|
+
TELEMETRY DART STATUS BIG_ENDIAN "DART Status"
|
2
|
+
APPEND_ID_ITEM PACKET_ID 8 INT 1 "Packet Id"
|
3
|
+
APPEND_ITEM LAST_PLE_ID 64 INT "Database ID of the most recent PacketLogEntry created"
|
4
|
+
APPEND_ITEM PLE_STATE_NEED_DECOM 64 INT "Number of PacketLogEntries ready for decom"
|
5
|
+
APPEND_ITEM PLE_STATE_ERROR 64 INT "Number of PacketLogEntries with errors"
|
6
|
+
APPEND_ITEM DECOM_COUNT 64 INT "Count of packets decommutated"
|
7
|
+
APPEND_ITEM DECOM_ERROR_COUNT 64 INT "Count of decommutation errors"
|
8
|
+
APPEND_ITEM DECOM_MESSAGE 2048 STRING "Most recent decommutation message"
|
9
|
+
APPEND_ITEM REDUCTION_COUNT 64 INT "Count of packet reduced since DART started"
|
10
|
+
APPEND_ITEM REDUCTION_ERROR_COUNT 64 INT "Count of reduction errors"
|
11
|
+
APPEND_ITEM REDUCTION_MESSAGE 2048 STRING "Most recent reduction message"
|
12
|
+
APPEND_ITEM DART_DATA_BYTES 64 INT "Size of the DART Data folder in bytes"
|
13
|
+
POLY_READ_CONVERSION 0 0.0000000009313225746154785
|
14
|
+
UNITS GB GB
|
15
|
+
FORMAT_STRING "%0.2f"
|
16
|
+
APPEND_ITEM DART_LOGS_BYTES 64 INT "Size of the DART Logs folder in bytes"
|
17
|
+
POLY_READ_CONVERSION 0 0.0000000009313225746154785
|
18
|
+
UNITS GB GB
|
19
|
+
FORMAT_STRING "%0.2f"
|
20
|
+
APPEND_ITEM DART_DATABASE_BYTES 64 INT "Size of the DART Postgres database in bytes"
|
21
|
+
POLY_READ_CONVERSION 0 0.0000000009313225746154785
|
22
|
+
UNITS GB GB
|
23
|
+
FORMAT_STRING "%0.2f"
|
24
|
+
APPEND_ITEM DART_STATUS_SECONDS 64 FLOAT "Seconds to complete status queries"
|
25
|
+
APPEND_ITEM PLE_FIRST_TIME_S 64 INT "Time of the first PacketLogEntry in the database seconds"
|
26
|
+
APPEND_ITEM PLE_FIRST_TIME_US 64 INT "Time of the first PacketLogEntry in the database microseconds"
|
27
|
+
APPEND_ITEM PLE_LAST_TIME_S 64 INT "Time of the last PacketLogEntry in the database seconds"
|
28
|
+
APPEND_ITEM PLE_LAST_TIME_US 64 INT "Time of the last PacketLogEntry in the database microseconds"
|
29
|
+
APPEND_ITEM DECOM_MESSAGE_TIME_S 64 INT "Time of decommutation message seconds"
|
30
|
+
APPEND_ITEM DECOM_MESSAGE_TIME_US 64 INT "Time of decommutation message microseconds"
|
31
|
+
APPEND_ITEM REDUCTION_MESSAGE_TIME_S 64 INT "Time of reduction message seconds"
|
32
|
+
APPEND_ITEM REDUCTION_MESSAGE_TIME_US 64 INT "Time of reduction message microseconds"
|
33
|
+
ITEM PLE_FIRST_TIME 0 0 DERIVED "Time of the first PacketLogEntry in the database"
|
34
|
+
READ_CONVERSION unix_time_formatted_conversion.rb PLE_FIRST_TIME_S PLE_FIRST_TIME_US
|
35
|
+
ITEM PLE_LAST_TIME 0 0 DERIVED "Time of the last PacketLogEntry in the database"
|
36
|
+
READ_CONVERSION unix_time_formatted_conversion.rb PLE_LAST_TIME_S PLE_LAST_TIME_US
|
37
|
+
ITEM DECOM_MESSAGE_TIME 0 0 DERIVED "Time of decommutation message"
|
38
|
+
READ_CONVERSION unix_time_formatted_conversion.rb DECOM_MESSAGE_TIME_S DECOM_MESSAGE_TIME_US
|
39
|
+
ITEM REDUCTION_MESSAGE_TIME 0 0 DERIVED "Time of reduction message"
|
40
|
+
READ_CONVERSION unix_time_formatted_conversion.rb REDUCTION_MESSAGE_TIME_S REDUCTION_MESSAGE_TIME_US
|