cosmos 3.4.2 → 3.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Manifest.txt +69 -11
- data/autohotkey/config/targets/INST/cmd_tlm/inst_tlm.txt +23 -0
- data/autohotkey/tools/TestRunnerAHK5 +17 -0
- data/autohotkey/tools/TestRunnerAHK6 +17 -0
- data/autohotkey/tools/cmd_extractor.ahk +6 -0
- data/autohotkey/tools/data_viewer.ahk +6 -0
- data/autohotkey/tools/limits_monitor.ahk +67 -14
- data/autohotkey/tools/replay.ahk +6 -0
- data/autohotkey/tools/test_runner5.ahk +8 -0
- data/autohotkey/tools/test_runner6.ahk +5 -0
- data/autohotkey/tools/tlm_extractor.ahk +25 -1
- data/autohotkey/tools/tlm_grapher.ahk +6 -0
- data/cosmos.gemspec +19 -19
- data/data/crc.txt +46 -46
- data/data/critical.wav +0 -0
- data/data/information.wav +0 -0
- data/data/input.wav +0 -0
- data/data/message.wav +0 -0
- data/data/question.wav +0 -0
- data/data/warning.wav +0 -0
- data/demo/Gemfile +5 -1
- data/demo/Launcher +5 -4
- data/demo/Launcher.bat +6 -56
- data/demo/config/data/crc.txt +73 -55
- data/demo/config/system/system.txt +1 -0
- data/demo/config/targets/EXAMPLE/cmd_tlm/example_tlm.txt +2 -0
- data/demo/procedures/example_test.rb +17 -16
- data/demo/tools/CmdExtractor +6 -5
- data/demo/tools/CmdExtractor.bat +6 -56
- data/demo/tools/CmdSender +6 -5
- data/demo/tools/CmdSender.bat +6 -56
- data/demo/tools/CmdTlmServer +6 -5
- data/demo/tools/CmdTlmServer.bat +6 -56
- data/demo/tools/DataViewer +6 -5
- data/demo/tools/DataViewer.bat +6 -56
- data/demo/tools/ExampleTarget +6 -5
- data/demo/tools/ExampleTarget.bat +6 -56
- data/demo/tools/HandbookCreator +6 -5
- data/demo/tools/HandbookCreator.bat +6 -58
- data/demo/tools/Launcher +6 -5
- data/demo/tools/Launcher.bat +6 -56
- data/demo/tools/LimitsMonitor +6 -5
- data/demo/tools/LimitsMonitor.bat +6 -56
- data/demo/tools/OpenGLBuilder +6 -5
- data/demo/tools/OpenGLBuilder.bat +6 -56
- data/demo/tools/PacketViewer +6 -5
- data/demo/tools/PacketViewer.bat +6 -56
- data/demo/tools/Replay +6 -5
- data/demo/tools/Replay.bat +6 -56
- data/demo/tools/ScpiTarget +6 -5
- data/demo/tools/ScpiTarget.bat +6 -56
- data/demo/tools/ScriptRunner +6 -5
- data/demo/tools/ScriptRunner.bat +6 -56
- data/demo/tools/TableManager +6 -5
- data/demo/tools/TableManager.bat +6 -56
- data/demo/tools/TestRunner +6 -5
- data/demo/tools/TestRunner.bat +6 -56
- data/demo/tools/TlmExtractor +6 -5
- data/demo/tools/TlmExtractor.bat +6 -56
- data/demo/tools/TlmGrapher +6 -5
- data/demo/tools/TlmGrapher.bat +6 -56
- data/demo/tools/TlmViewer +6 -5
- data/demo/tools/TlmViewer.bat +6 -56
- data/demo/tools/ToolLaunch.bat +63 -0
- data/demo/tools/mac/CmdExtractor.app/Contents/MacOS/CmdExtractor.rb +6 -5
- data/demo/tools/mac/CmdExtractor.app/Contents/MacOS/tool_launch.rb +38 -0
- data/demo/tools/mac/CmdSender.app/Contents/MacOS/CmdSender.rb +6 -5
- data/demo/tools/mac/CmdSender.app/Contents/MacOS/tool_launch.rb +38 -0
- data/demo/tools/mac/CmdTlmServer.app/Contents/MacOS/CmdTlmServer.rb +6 -5
- data/demo/tools/mac/CmdTlmServer.app/Contents/MacOS/tool_launch.rb +38 -0
- data/demo/tools/mac/DataViewer.app/Contents/MacOS/DataViewer.rb +6 -5
- data/demo/tools/mac/DataViewer.app/Contents/MacOS/tool_launch.rb +38 -0
- data/demo/tools/mac/HandbookCreator.app/Contents/MacOS/HandbookCreator.rb +6 -5
- data/demo/tools/mac/HandbookCreator.app/Contents/MacOS/tool_launch.rb +38 -0
- data/demo/tools/mac/Launcher.app/Contents/MacOS/Launcher.rb +6 -5
- data/demo/tools/mac/Launcher.app/Contents/MacOS/tool_launch.rb +38 -0
- data/demo/tools/mac/LimitsMonitor.app/Contents/MacOS/LimitsMonitor.rb +6 -5
- data/demo/tools/mac/LimitsMonitor.app/Contents/MacOS/tool_launch.rb +38 -0
- data/demo/tools/mac/OpenGLBuilder.app/Contents/MacOS/OpenGLBuilder.rb +6 -5
- data/demo/tools/mac/OpenGLBuilder.app/Contents/MacOS/tool_launch.rb +38 -0
- data/demo/tools/mac/PacketViewer.app/Contents/MacOS/PacketViewer.rb +6 -5
- data/demo/tools/mac/PacketViewer.app/Contents/MacOS/tool_launch.rb +38 -0
- data/demo/tools/mac/Replay.app/Contents/MacOS/Replay.rb +6 -5
- data/demo/tools/mac/Replay.app/Contents/MacOS/tool_launch.rb +38 -0
- data/demo/tools/mac/ScriptRunner.app/Contents/MacOS/ScriptRunner.rb +6 -5
- data/demo/tools/mac/ScriptRunner.app/Contents/MacOS/tool_launch.rb +38 -0
- data/demo/tools/mac/TableManager.app/Contents/MacOS/TableManager.rb +6 -5
- data/demo/tools/mac/TableManager.app/Contents/MacOS/tool_launch.rb +38 -0
- data/demo/tools/mac/TestRunner.app/Contents/MacOS/TestRunner.rb +6 -5
- data/demo/tools/mac/TestRunner.app/Contents/MacOS/tool_launch.rb +38 -0
- data/demo/tools/mac/TlmExtractor.app/Contents/MacOS/TlmExtractor.rb +6 -5
- data/demo/tools/mac/TlmExtractor.app/Contents/MacOS/tool_launch.rb +38 -0
- data/demo/tools/mac/TlmGrapher.app/Contents/MacOS/TlmGrapher.rb +6 -5
- data/demo/tools/mac/TlmGrapher.app/Contents/MacOS/tool_launch.rb +38 -0
- data/demo/tools/mac/TlmViewer.app/Contents/MacOS/TlmViewer.rb +6 -5
- data/demo/tools/mac/TlmViewer.app/Contents/MacOS/tool_launch.rb +38 -0
- data/demo/tools/tool_launch.rb +38 -0
- data/install/Gemfile +5 -1
- data/install/Launcher +5 -3
- data/install/Launcher.bat +6 -56
- data/install/config/data/crc.txt +67 -49
- data/install/config/tools/launcher/launcher.txt +1 -0
- data/install/tools/CmdExtractor +6 -5
- data/install/tools/CmdExtractor.bat +6 -56
- data/install/tools/CmdSender +6 -5
- data/install/tools/CmdSender.bat +6 -56
- data/install/tools/CmdTlmServer +6 -5
- data/install/tools/CmdTlmServer.bat +6 -56
- data/install/tools/DataViewer +6 -5
- data/install/tools/DataViewer.bat +6 -56
- data/install/tools/HandbookCreator +6 -5
- data/install/tools/HandbookCreator.bat +6 -58
- data/install/tools/Launcher +6 -5
- data/install/tools/Launcher.bat +6 -56
- data/install/tools/LimitsMonitor +6 -5
- data/install/tools/LimitsMonitor.bat +6 -56
- data/install/tools/OpenGLBuilder +6 -5
- data/install/tools/OpenGLBuilder.bat +6 -56
- data/install/tools/PacketViewer +6 -5
- data/install/tools/PacketViewer.bat +6 -56
- data/install/tools/Replay +6 -5
- data/install/tools/Replay.bat +6 -56
- data/install/tools/ScriptRunner +6 -5
- data/install/tools/ScriptRunner.bat +6 -56
- data/install/tools/TableManager +6 -5
- data/install/tools/TableManager.bat +6 -56
- data/install/tools/TestRunner +6 -5
- data/install/tools/TestRunner.bat +6 -56
- data/install/tools/TlmExtractor +6 -5
- data/install/tools/TlmExtractor.bat +6 -56
- data/install/tools/TlmGrapher +6 -5
- data/install/tools/TlmGrapher.bat +6 -56
- data/install/tools/TlmViewer +6 -5
- data/install/tools/TlmViewer.bat +6 -56
- data/install/tools/ToolLaunch.bat +63 -0
- data/install/tools/mac/CmdExtractor.app/Contents/MacOS/CmdExtractor.rb +6 -5
- data/install/tools/mac/CmdExtractor.app/Contents/MacOS/tool_launch.rb +38 -0
- data/install/tools/mac/CmdSender.app/Contents/MacOS/CmdSender.rb +6 -5
- data/install/tools/mac/CmdSender.app/Contents/MacOS/tool_launch.rb +38 -0
- data/install/tools/mac/CmdTlmServer.app/Contents/MacOS/CmdTlmServer.rb +6 -5
- data/install/tools/mac/CmdTlmServer.app/Contents/MacOS/tool_launch.rb +38 -0
- data/install/tools/mac/DataViewer.app/Contents/MacOS/DataViewer.rb +6 -5
- data/install/tools/mac/DataViewer.app/Contents/MacOS/tool_launch.rb +38 -0
- data/install/tools/mac/HandbookCreator.app/Contents/MacOS/HandbookCreator.rb +6 -5
- data/install/tools/mac/HandbookCreator.app/Contents/MacOS/tool_launch.rb +38 -0
- data/install/tools/mac/Launcher.app/Contents/MacOS/Launcher.rb +6 -5
- data/install/tools/mac/Launcher.app/Contents/MacOS/tool_launch.rb +38 -0
- data/install/tools/mac/LimitsMonitor.app/Contents/MacOS/LimitsMonitor.rb +6 -5
- data/install/tools/mac/LimitsMonitor.app/Contents/MacOS/tool_launch.rb +38 -0
- data/install/tools/mac/OpenGLBuilder.app/Contents/MacOS/OpenGLBuilder.rb +6 -5
- data/install/tools/mac/OpenGLBuilder.app/Contents/MacOS/tool_launch.rb +38 -0
- data/install/tools/mac/PacketViewer.app/Contents/MacOS/PacketViewer.rb +6 -5
- data/install/tools/mac/PacketViewer.app/Contents/MacOS/tool_launch.rb +38 -0
- data/install/tools/mac/Replay.app/Contents/MacOS/Replay.rb +6 -5
- data/install/tools/mac/Replay.app/Contents/MacOS/tool_launch.rb +38 -0
- data/install/tools/mac/ScriptRunner.app/Contents/MacOS/ScriptRunner.rb +6 -5
- data/install/tools/mac/ScriptRunner.app/Contents/MacOS/tool_launch.rb +38 -0
- data/install/tools/mac/TableManager.app/Contents/MacOS/TableManager.rb +6 -5
- data/install/tools/mac/TableManager.app/Contents/MacOS/tool_launch.rb +38 -0
- data/install/tools/mac/TestRunner.app/Contents/MacOS/TestRunner.rb +6 -5
- data/install/tools/mac/TestRunner.app/Contents/MacOS/tool_launch.rb +38 -0
- data/install/tools/mac/TlmExtractor.app/Contents/MacOS/TlmExtractor.rb +6 -5
- data/install/tools/mac/TlmExtractor.app/Contents/MacOS/tool_launch.rb +38 -0
- data/install/tools/mac/TlmGrapher.app/Contents/MacOS/TlmGrapher.rb +6 -5
- data/install/tools/mac/TlmGrapher.app/Contents/MacOS/tool_launch.rb +38 -0
- data/install/tools/mac/TlmViewer.app/Contents/MacOS/TlmViewer.rb +6 -5
- data/install/tools/mac/TlmViewer.app/Contents/MacOS/tool_launch.rb +38 -0
- data/install/tools/tool_launch.rb +38 -0
- data/lib/cosmos/core_ext/string.rb +3 -2
- data/lib/cosmos/gui/dialogs/about_dialog.rb +3 -7
- data/lib/cosmos/gui/dialogs/find_replace_dialog.rb +200 -136
- data/lib/cosmos/gui/opengl/gl_viewer.rb +8 -8
- data/lib/cosmos/gui/qt.rb +56 -27
- data/lib/cosmos/gui/qt_tool.rb +3 -1
- data/lib/cosmos/gui/text/ruby_editor.rb +130 -110
- data/lib/cosmos/gui/utilities/script_module_gui.rb +150 -4
- data/lib/cosmos/io/json_drb.rb +1 -1
- data/lib/cosmos/io/win32_serial_driver.rb +2 -4
- data/lib/cosmos/packet_logs/ccsds_log_reader.rb +1 -0
- data/lib/cosmos/packet_logs/packet_log_reader.rb +13 -4
- data/lib/cosmos/packets/limits.rb +6 -3
- data/lib/cosmos/packets/telemetry.rb +34 -3
- data/lib/cosmos/processors/new_packet_log_processor.rb +1 -1
- data/lib/cosmos/script/commands.rb +20 -2
- data/lib/cosmos/script/extract.rb +11 -3
- data/lib/cosmos/script/limits.rb +6 -0
- data/lib/cosmos/script/scripting.rb +17 -9
- data/lib/cosmos/system/system.rb +73 -17
- data/lib/cosmos/system/target.rb +10 -5
- data/lib/cosmos/tools/cmd_extractor/cmd_extractor.rb +1 -0
- data/lib/cosmos/tools/cmd_tlm_server/api.rb +95 -0
- data/lib/cosmos/tools/cmd_tlm_server/cmd_tlm_server.rb +8 -4
- data/lib/cosmos/tools/cmd_tlm_server/cmd_tlm_server_gui.rb +55 -0
- data/lib/cosmos/tools/data_viewer/data_viewer.rb +5 -12
- data/lib/cosmos/tools/data_viewer/data_viewer_component.rb +14 -48
- data/lib/cosmos/tools/handbook_creator/handbook_creator_config.rb +1 -5
- data/lib/cosmos/tools/launcher/launcher.rb +4 -0
- data/lib/cosmos/tools/launcher/launcher_config.rb +50 -0
- data/lib/cosmos/tools/launcher/launcher_tool.rb +21 -9
- data/lib/cosmos/tools/limits_monitor/limits_monitor.rb +607 -566
- data/lib/cosmos/tools/replay/replay.rb +51 -45
- data/lib/cosmos/tools/script_runner/script_runner.rb +13 -5
- data/lib/cosmos/tools/script_runner/script_runner_frame.rb +8 -109
- data/lib/cosmos/tools/test_runner/test.rb +65 -6
- data/lib/cosmos/tools/test_runner/test_runner.rb +4 -4
- data/lib/cosmos/tools/tlm_extractor/tlm_extractor.rb +5 -0
- data/lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_logfile_thread.rb +3 -0
- data/lib/cosmos/tools/tlm_viewer/tlm_viewer.rb +3 -2
- data/lib/cosmos/tools/tlm_viewer/tlm_viewer_config.rb +9 -6
- data/lib/cosmos/tools/tlm_viewer/widgets/array_widget.rb +1 -5
- data/lib/cosmos/tools/tlm_viewer/widgets/block_widget.rb +1 -5
- data/lib/cosmos/top_level.rb +86 -3
- data/lib/cosmos/version.rb +5 -5
- data/lib/cosmos/win32/win32_main.rb +7 -1
- data/spec/packet_logs/packet_log_reader_spec.rb +67 -7
- data/spec/packets/limits_spec.rb +19 -1
- data/spec/packets/telemetry_spec.rb +44 -1
- data/spec/script/commands_spec.rb +14 -0
- data/spec/script/scripting_spec.rb +5 -1
- data/spec/script/telemetry_spec.rb +38 -3
- data/spec/system/system_spec.rb +24 -4
- data/spec/tools/cmd_tlm_server/api_spec.rb +30 -0
- data/test/benchmarks/gsub_benchmark.rb +42 -4
- data/test/benchmarks/is_a_benchmark.rb +34 -0
- data/test/performance/config/data/crc.txt +161 -171
- data/test/performance/config/system/system_packets.txt +10 -10
- data/test/performance/config/system/system_threads.txt +30 -30
- data/test/performance/config/targets/COSMOS/cmd_tlm/cosmos_server_cmds.txt +7 -2
- data/test/performance/config/targets/PACKET/cmd_tlm/packet_cmds.txt +20 -0
- data/test/performance/config/targets/PACKET/cmd_tlm/packet_tlm.txt +98 -0
- data/test/performance/config/targets/{EXAMPLE → PACKET}/cmd_tlm_server.txt +2 -2
- data/test/performance/config/targets/PACKET/lib/packet_interface.rb +22 -0
- data/test/performance/config/targets/PACKET/lib/packet_limits_response.rb +24 -0
- data/test/performance/config/targets/PACKET/screens/status.txt +25 -0
- data/test/performance/config/targets/PACKET/target.txt +28 -0
- data/test/performance/config/targets/{EXAMPLE/cmd_tlm/example_cmds.txt → THREAD/cmd_tlm/thread_cmds.txt} +1 -1
- data/test/performance/config/targets/{EXAMPLE/cmd_tlm/example_tlm.txt → THREAD/cmd_tlm/thread_tlm.txt} +1 -1
- data/test/performance/config/targets/THREAD/cmd_tlm_server.txt +6 -0
- data/test/performance/config/targets/{EXAMPLE/lib/example_interface.rb → THREAD/lib/thread_interface.rb} +1 -1
- data/test/performance/config/targets/THREAD/screens/status.txt +25 -0
- data/test/performance/config/targets/{EXAMPLE → THREAD}/target.txt +0 -0
- data/test/performance/config/tools/cmd_tlm_server/cmd_tlm_server_packets.txt +24 -30
- data/test/performance/config/tools/cmd_tlm_server/cmd_tlm_server_threads.txt +31 -31
- data/test/performance/config/tools/launcher/launcher_packets.txt +16 -11
- data/test/performance/config/tools/launcher/launcher_threads.txt +41 -35
- data/test/performance/config/tools/tlm_grapher/tlm_grapher.txt +204 -0
- data/test/performance/config/tools/tlm_viewer/tlm_viewer.txt +10 -38
- data/test/performance/lib/packet_target.rb +126 -0
- data/test/performance/lib/{example_target.rb → thread_target.rb} +9 -9
- data/test/performance/tools/CmdTlmServerMemProf +1 -1
- data/test/performance/tools/{ExampleTarget → PacketTarget} +2 -2
- data/test/performance/tools/{ExampleTarget.bat → PacketTarget.bat} +0 -0
- data/test/performance/tools/ThreadTarget +14 -0
- data/test/performance/tools/ThreadTarget.bat +59 -0
- data/test/performance/tools/TlmGrapherMemProf +1 -1
- data/test/performance/tools/TlmViewerMemProf +19 -0
- data/{autohotkey/tools/Replay.bat → test/performance/tools/TlmViewerMemProf.bat} +1 -1
- metadata +107 -55
- data/test/performance/lib/example_background_task.rb +0 -57
- data/test/performance/lib/scpi_target.rb +0 -74
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# encoding: ascii-8bit
|
3
3
|
|
4
|
-
# Copyright
|
4
|
+
# Copyright 2015 Ball Aerospace & Technologies Corp.
|
5
5
|
# All Rights Reserved.
|
6
6
|
#
|
7
7
|
# This program is free software; you can modify and/or redistribute it
|
@@ -9,7 +9,8 @@
|
|
9
9
|
# as published by the Free Software Foundation; version 3 with
|
10
10
|
# attribution addendums as found in the LICENSE.txt
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
require 'cosmos/tools/tlm_grapher/tlm_grapher'
|
15
|
-
Cosmos::TlmGrapher.run
|
12
|
+
require_relative 'tool_launch'
|
13
|
+
tool_launch do
|
14
|
+
require 'cosmos/tools/tlm_grapher/tlm_grapher'
|
15
|
+
Cosmos::TlmGrapher.run
|
16
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# encoding: ascii-8bit
|
3
|
+
|
4
|
+
# Copyright 2015 Ball Aerospace & Technologies Corp.
|
5
|
+
# All Rights Reserved.
|
6
|
+
#
|
7
|
+
# This program is free software; you can modify and/or redistribute it
|
8
|
+
# under the terms of the GNU General Public License
|
9
|
+
# as published by the Free Software Foundation; version 3 with
|
10
|
+
# attribution addendums as found in the LICENSE.txt
|
11
|
+
|
12
|
+
def tool_launch
|
13
|
+
begin
|
14
|
+
require 'bundler/setup'
|
15
|
+
require 'cosmos'
|
16
|
+
yield
|
17
|
+
rescue Exception => error
|
18
|
+
popup_error = error; popup_error = $cosmos_fatal_exception if defined? $cosmos_fatal_exception
|
19
|
+
begin
|
20
|
+
raise error if STDIN.isatty # Have a console
|
21
|
+
raise error unless defined? $cosmos_fatal_exception or (error.class != SystemExit and error.class != Interrupt)
|
22
|
+
case RUBY_PLATFORM
|
23
|
+
when /mingw32/
|
24
|
+
require 'fiddle'
|
25
|
+
Fiddle::Function.new(Fiddle.dlopen('user32')['MessageBox'], [Fiddle::TYPE_LONG, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_LONG], Fiddle::TYPE_LONG).call(0, "#{popup_error.class}:#{popup_error.message}\n\n#{popup_error.backtrace.join("\n")}\n\nNote: Ctrl-C will copy this information to the clipboard.", "Error Starting COSMOS Tool", 0x50030)
|
26
|
+
when /darwin/
|
27
|
+
system("osascript -e 'display notification \"#{popup_error.class}:#{popup_error.message}:#{popup_error.backtrace[0].tr("'\"`<>", '')}\" with title \"Error Starting COSMOS Tool\"'")
|
28
|
+
else
|
29
|
+
message = "#{popup_error.class}:#{popup_error.message}\\n\\n#{popup_error.backtrace.join("\\n").tr("'\"`<>", '')}"
|
30
|
+
command = "zenity --info --text=\"#{message}\" --title=\"Error Starting COSMOS Tool\""
|
31
|
+
success = system(command)
|
32
|
+
system("notify-send \"Error Starting COSMOS Tool\" \"#{message}\"") unless success
|
33
|
+
end
|
34
|
+
ensure
|
35
|
+
raise error
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# encoding: ascii-8bit
|
3
3
|
|
4
|
-
# Copyright
|
4
|
+
# Copyright 2015 Ball Aerospace & Technologies Corp.
|
5
5
|
# All Rights Reserved.
|
6
6
|
#
|
7
7
|
# This program is free software; you can modify and/or redistribute it
|
@@ -9,7 +9,8 @@
|
|
9
9
|
# as published by the Free Software Foundation; version 3 with
|
10
10
|
# attribution addendums as found in the LICENSE.txt
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
require 'cosmos/tools/tlm_viewer/tlm_viewer'
|
15
|
-
Cosmos::TlmViewer.run
|
12
|
+
require_relative 'tool_launch'
|
13
|
+
tool_launch do
|
14
|
+
require 'cosmos/tools/tlm_viewer/tlm_viewer'
|
15
|
+
Cosmos::TlmViewer.run
|
16
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# encoding: ascii-8bit
|
3
|
+
|
4
|
+
# Copyright 2015 Ball Aerospace & Technologies Corp.
|
5
|
+
# All Rights Reserved.
|
6
|
+
#
|
7
|
+
# This program is free software; you can modify and/or redistribute it
|
8
|
+
# under the terms of the GNU General Public License
|
9
|
+
# as published by the Free Software Foundation; version 3 with
|
10
|
+
# attribution addendums as found in the LICENSE.txt
|
11
|
+
|
12
|
+
def tool_launch
|
13
|
+
begin
|
14
|
+
require 'bundler/setup'
|
15
|
+
require 'cosmos'
|
16
|
+
yield
|
17
|
+
rescue Exception => error
|
18
|
+
popup_error = error; popup_error = $cosmos_fatal_exception if defined? $cosmos_fatal_exception
|
19
|
+
begin
|
20
|
+
raise error if STDIN.isatty # Have a console
|
21
|
+
raise error unless defined? $cosmos_fatal_exception or (error.class != SystemExit and error.class != Interrupt)
|
22
|
+
case RUBY_PLATFORM
|
23
|
+
when /mingw32/
|
24
|
+
require 'fiddle'
|
25
|
+
Fiddle::Function.new(Fiddle.dlopen('user32')['MessageBox'], [Fiddle::TYPE_LONG, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_LONG], Fiddle::TYPE_LONG).call(0, "#{popup_error.class}:#{popup_error.message}\n\n#{popup_error.backtrace.join("\n")}\n\nNote: Ctrl-C will copy this information to the clipboard.", "Error Starting COSMOS Tool", 0x50030)
|
26
|
+
when /darwin/
|
27
|
+
system("osascript -e 'display notification \"#{popup_error.class}:#{popup_error.message}:#{popup_error.backtrace[0].tr("'\"`<>", '')}\" with title \"Error Starting COSMOS Tool\"'")
|
28
|
+
else
|
29
|
+
message = "#{popup_error.class}:#{popup_error.message}\\n\\n#{popup_error.backtrace.join("\\n").tr("'\"`<>", '')}"
|
30
|
+
command = "zenity --info --text=\"#{message}\" --title=\"Error Starting COSMOS Tool\""
|
31
|
+
success = system(command)
|
32
|
+
system("notify-send \"Error Starting COSMOS Tool\" \"#{message}\"") unless success
|
33
|
+
end
|
34
|
+
ensure
|
35
|
+
raise error
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
@@ -0,0 +1,38 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
# encoding: ascii-8bit
|
3
|
+
|
4
|
+
# Copyright 2015 Ball Aerospace & Technologies Corp.
|
5
|
+
# All Rights Reserved.
|
6
|
+
#
|
7
|
+
# This program is free software; you can modify and/or redistribute it
|
8
|
+
# under the terms of the GNU General Public License
|
9
|
+
# as published by the Free Software Foundation; version 3 with
|
10
|
+
# attribution addendums as found in the LICENSE.txt
|
11
|
+
|
12
|
+
def tool_launch
|
13
|
+
begin
|
14
|
+
require 'bundler/setup'
|
15
|
+
require 'cosmos'
|
16
|
+
yield
|
17
|
+
rescue Exception => error
|
18
|
+
popup_error = error; popup_error = $cosmos_fatal_exception if defined? $cosmos_fatal_exception
|
19
|
+
begin
|
20
|
+
raise error if STDIN.isatty # Have a console
|
21
|
+
raise error unless defined? $cosmos_fatal_exception or (error.class != SystemExit and error.class != Interrupt)
|
22
|
+
case RUBY_PLATFORM
|
23
|
+
when /mingw32/
|
24
|
+
require 'fiddle'
|
25
|
+
Fiddle::Function.new(Fiddle.dlopen('user32')['MessageBox'], [Fiddle::TYPE_LONG, Fiddle::TYPE_VOIDP, Fiddle::TYPE_VOIDP, Fiddle::TYPE_LONG], Fiddle::TYPE_LONG).call(0, "#{popup_error.class}:#{popup_error.message}\n\n#{popup_error.backtrace.join("\n")}\n\nNote: Ctrl-C will copy this information to the clipboard.", "Error Starting COSMOS Tool", 0x50030)
|
26
|
+
when /darwin/
|
27
|
+
system("osascript -e 'display notification \"#{popup_error.class}:#{popup_error.message}:#{popup_error.backtrace[0].tr("'\"`<>", '')}\" with title \"Error Starting COSMOS Tool\"'")
|
28
|
+
else
|
29
|
+
message = "#{popup_error.class}:#{popup_error.message}\\n\\n#{popup_error.backtrace.join("\\n").tr("'\"`<>", '')}"
|
30
|
+
command = "zenity --info --text=\"#{message}\" --title=\"Error Starting COSMOS Tool\""
|
31
|
+
success = system(command)
|
32
|
+
system("notify-send \"Error Starting COSMOS Tool\" \"#{message}\"") unless success
|
33
|
+
end
|
34
|
+
ensure
|
35
|
+
raise error
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
data/install/Gemfile
CHANGED
data/install/Launcher
CHANGED
@@ -9,6 +9,8 @@
|
|
9
9
|
# as published by the Free Software Foundation; version 3 with
|
10
10
|
# attribution addendums as found in the LICENSE.txt
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
|
12
|
+
require_relative 'tools/launch_tool'
|
13
|
+
launch_tool do
|
14
|
+
require 'cosmos/tools/launcher/launcher'
|
15
|
+
Cosmos::Launcher.run
|
16
|
+
end
|
data/install/Launcher.bat
CHANGED
@@ -1,59 +1,9 @@
|
|
1
1
|
@ECHO OFF
|
2
2
|
|
3
|
-
|
3
|
+
IF NOT EXIST %~dp0tools\LaunchTool.bat (
|
4
|
+
echo %~dp0tools\LaunchTool.bat does not exist
|
5
|
+
pause
|
6
|
+
exit /b
|
7
|
+
)
|
4
8
|
|
5
|
-
|
6
|
-
IF EXIST "%DESTINATION_DIR%Vendor\Ruby" GOTO DIREND
|
7
|
-
IF "%COSMOS_DIR%" == "" GOTO DIREND
|
8
|
-
SET "DESTINATION_DIR=%COSMOS_DIR%\"
|
9
|
-
:DIREND
|
10
|
-
|
11
|
-
IF NOT EXIST "%DESTINATION_DIR%Vendor\Ruby" GOTO SYSTEMRUBY
|
12
|
-
|
13
|
-
REM Save some variables we're going to change so we can restore them later
|
14
|
-
SET "COSMOS_GEM_HOME_SAVED=%GEM_HOME%"
|
15
|
-
SET "COSMOS_GEM_PATH_SAVED=%GEM_PATH%"
|
16
|
-
SET "COSMOS_GEMRC_SAVED=%GEMRC%"
|
17
|
-
SET "COSMOS_PATH_SAVED=%PATH%
|
18
|
-
SET "COSMOS_RUBYOPT_SAVED=%RUBYOPT%"
|
19
|
-
SET "COSMOS_RUBYLIB_SAVED=%RUBYLIB%"
|
20
|
-
SET "COSMOS_RI_DEVKIT_SAVED=%RI_DEVKIT%"
|
21
|
-
|
22
|
-
REM Set environmental variables
|
23
|
-
|
24
|
-
IF EXIST "%DESTINATION_DIR%Vendor\Ruby\lib\ruby\gems\1.8" SET "GEM_HOME=%DESTINATION_DIR%Vendor\Ruby\lib\ruby\gems\1.8"
|
25
|
-
IF EXIST "%DESTINATION_DIR%Vendor\Ruby\lib\ruby\gems\1.9.1" SET "GEM_HOME=%DESTINATION_DIR%Vendor\Ruby\lib\ruby\gems\1.9.1"
|
26
|
-
IF EXIST "%DESTINATION_DIR%Vendor\Ruby\lib\ruby\gems\2.0.0" SET "GEM_HOME=%DESTINATION_DIR%Vendor\Ruby\lib\ruby\gems\2.0.0"
|
27
|
-
SET "GEM_PATH=%GEM_HOME%"
|
28
|
-
SET "GEMRC=%DESTINATION_DIR%Vendor\Ruby\lib\ruby\gems\etc\gemrc"
|
29
|
-
|
30
|
-
REM Prepend embedded bin to PATH so we prefer those binaries
|
31
|
-
SET "RI_DEVKIT=%DESTINATION_DIR%Vendor\Devkit\"
|
32
|
-
SET "PATH=%DESTINATION_DIR%Vendor\Ruby\bin;%RI_DEVKIT%bin;%RI_DEVKIT%mingw\bin;%DESTINATION_DIR%Vendor\wkhtmltopdf;%PATH%"
|
33
|
-
|
34
|
-
REM Remove RUBYOPT and RUBYLIB, which can cause serious problems.
|
35
|
-
SET RUBYOPT=
|
36
|
-
SET RUBYLIB=
|
37
|
-
|
38
|
-
REM Run tool using Installer Ruby
|
39
|
-
ECHO Starting tool using installer ruby in %DESTINATION_DIR%
|
40
|
-
START "COSMOS" "%DESTINATION_DIR%Vendor\Ruby\bin\%RUBYEXE%" "%~dp0%~n0" %*
|
41
|
-
|
42
|
-
REM Restore some environmental variables we changed
|
43
|
-
SET "GEM_HOME=%COSMOS_GEM_HOME_SAVED%"
|
44
|
-
SET "GEM_PATH=%COSMOS_GEM_PATH_SAVED%"
|
45
|
-
SET "GEMRC=%COSMOS_GEMRC_SAVED%"
|
46
|
-
SET "PATH=%COSMOS_PATH_SAVED%"
|
47
|
-
SET "RUBYOPT=%COSMOS_RUBYOPT_SAVED%"
|
48
|
-
SET "RUBYLIB=%COSMOS_RUBYLIB_SAVED%"
|
49
|
-
SET "RI_DEVKIT=%COSMOS_RI_DEVKIT_SAVED%"
|
50
|
-
|
51
|
-
GOTO END
|
52
|
-
:SYSTEMRUBY
|
53
|
-
|
54
|
-
REM Use System Ruby and Environment
|
55
|
-
ECHO Starting tool using system ruby and environment
|
56
|
-
START "COSMOS" "%RUBYEXE%" "%~dp0%~n0" %*
|
57
|
-
|
58
|
-
GOTO END
|
59
|
-
:END
|
9
|
+
call %~dp0tools\LaunchTool.bat rubyw.exe %~n0 %*
|
data/install/config/data/crc.txt
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"config/targets/COSMOS/screens/version.txt" 0x393D4F72
|
11
11
|
"config/tools/script_runner/script_runner.txt" 0x1EECD803
|
12
12
|
"config/tools/data_viewer/data_viewer.txt" 0xAEE0B7DF
|
13
|
-
"config/tools/launcher/launcher.txt"
|
13
|
+
"config/tools/launcher/launcher.txt" 0x2F6ABBDB
|
14
14
|
"config/tools/tlm_extractor/README.txt" 0x93B2C07E
|
15
15
|
"config/tools/cmd_tlm_server/cmd_tlm_server.txt" 0xC6819D73
|
16
16
|
"config/tools/limits_monitor/README.txt" 0x93B2C07E
|
@@ -34,100 +34,118 @@
|
|
34
34
|
"config/tools/handbook_creator/templates/pdf_footer.html.erb" 0xF0D3EB77
|
35
35
|
"config/tools/handbook_creator/templates/overview.html.erb" 0xDC4DD2B8
|
36
36
|
"config/tools/tlm_viewer/tlm_viewer.txt" 0xD9071527
|
37
|
-
"tools/TlmGrapher"
|
38
|
-
"tools/TestRunner.bat"
|
39
|
-
"tools/PacketViewer.bat"
|
40
|
-
"tools/TlmViewer.bat"
|
41
|
-
"tools/TlmExtractor"
|
42
|
-
"tools/
|
43
|
-
"tools/
|
44
|
-
"tools/
|
45
|
-
"tools/
|
46
|
-
"tools/
|
47
|
-
"tools/
|
48
|
-
"tools/
|
49
|
-
"tools/
|
50
|
-
"tools/
|
51
|
-
"tools/
|
52
|
-
"tools/
|
53
|
-
"tools/
|
37
|
+
"tools/TlmGrapher" 0x9464F502
|
38
|
+
"tools/TestRunner.bat" 0x09A34857
|
39
|
+
"tools/PacketViewer.bat" 0x09A34857
|
40
|
+
"tools/TlmViewer.bat" 0x09A34857
|
41
|
+
"tools/TlmExtractor" 0x1EC4639A
|
42
|
+
"tools/ToolLaunch.bat" 0x1A936987
|
43
|
+
"tools/CmdTlmServer.bat" 0x09A34857
|
44
|
+
"tools/OpenGLBuilder" 0x585EA691
|
45
|
+
"tools/Replay" 0xAC00D2AD
|
46
|
+
"tools/CmdSender" 0x10346CF4
|
47
|
+
"tools/PacketViewer" 0xF23A40BB
|
48
|
+
"tools/TableManager.bat" 0x09A34857
|
49
|
+
"tools/TlmExtractor.bat" 0x09A34857
|
50
|
+
"tools/HandbookCreator.bat" 0x09A34857
|
51
|
+
"tools/Launcher.bat" 0x09A34857
|
52
|
+
"tools/TestRunner" 0x0B0E0B8B
|
53
|
+
"tools/CmdSender.bat" 0x09A34857
|
54
|
+
"tools/LimitsMonitor.bat" 0x09A34857
|
54
55
|
"tools/mac/CmdExtractor.app/Contents/Resources/appIcon.icns" 0x39862FA7
|
55
|
-
"tools/mac/CmdExtractor.app/Contents/MacOS/CmdExtractor.rb"
|
56
|
+
"tools/mac/CmdExtractor.app/Contents/MacOS/CmdExtractor.rb" 0x96E82AC3
|
56
57
|
"tools/mac/CmdExtractor.app/Contents/MacOS/main.sh" 0x52DD5B34
|
58
|
+
"tools/mac/CmdExtractor.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
|
57
59
|
"tools/mac/CmdExtractor.app/Contents/Info.plist" 0x0E89084D
|
58
60
|
"tools/mac/TestRunner.app/Contents/Resources/appIcon.icns" 0xC8D32D55
|
59
|
-
"tools/mac/TestRunner.app/Contents/MacOS/TestRunner.rb"
|
61
|
+
"tools/mac/TestRunner.app/Contents/MacOS/TestRunner.rb" 0x0B0E0B8B
|
60
62
|
"tools/mac/TestRunner.app/Contents/MacOS/main.sh" 0xD486D22B
|
63
|
+
"tools/mac/TestRunner.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
|
61
64
|
"tools/mac/TestRunner.app/Contents/Info.plist" 0x482B3BA5
|
62
65
|
"tools/mac/TlmGrapher.app/Contents/Resources/appIcon.icns" 0xCA324F50
|
63
66
|
"tools/mac/TlmGrapher.app/Contents/MacOS/main.sh" 0x427E2ECF
|
64
|
-
"tools/mac/TlmGrapher.app/Contents/MacOS/TlmGrapher.rb"
|
67
|
+
"tools/mac/TlmGrapher.app/Contents/MacOS/TlmGrapher.rb" 0x9464F502
|
68
|
+
"tools/mac/TlmGrapher.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
|
65
69
|
"tools/mac/TlmGrapher.app/Contents/Info.plist" 0x3623B978
|
66
70
|
"tools/mac/Launcher.app/Contents/Resources/appIcon.icns" 0x8857CD2B
|
67
|
-
"tools/mac/Launcher.app/Contents/MacOS/Launcher.rb"
|
71
|
+
"tools/mac/Launcher.app/Contents/MacOS/Launcher.rb" 0xFD4E356C
|
68
72
|
"tools/mac/Launcher.app/Contents/MacOS/main.sh" 0xB47BE66F
|
73
|
+
"tools/mac/Launcher.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
|
69
74
|
"tools/mac/Launcher.app/Contents/Info.plist" 0x32A1EF14
|
70
75
|
"tools/mac/OpenGLBuilder.app/Contents/Resources/appIcon.icns" 0x8DDBD837
|
71
|
-
"tools/mac/OpenGLBuilder.app/Contents/MacOS/OpenGLBuilder.rb"
|
76
|
+
"tools/mac/OpenGLBuilder.app/Contents/MacOS/OpenGLBuilder.rb" 0x585EA691
|
72
77
|
"tools/mac/OpenGLBuilder.app/Contents/MacOS/main.sh" 0x5EF4D8E2
|
78
|
+
"tools/mac/OpenGLBuilder.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
|
73
79
|
"tools/mac/OpenGLBuilder.app/Contents/Info.plist" 0x3C2E542D
|
74
80
|
"tools/mac/HandbookCreator.app/Contents/Resources/appIcon.icns" 0xCEA7C465
|
75
81
|
"tools/mac/HandbookCreator.app/Contents/MacOS/main.sh" 0xD6BC144D
|
76
|
-
"tools/mac/HandbookCreator.app/Contents/MacOS/HandbookCreator.rb"
|
82
|
+
"tools/mac/HandbookCreator.app/Contents/MacOS/HandbookCreator.rb" 0xD927814C
|
83
|
+
"tools/mac/HandbookCreator.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
|
77
84
|
"tools/mac/HandbookCreator.app/Contents/Info.plist" 0x7591A548
|
78
85
|
"tools/mac/TableManager.app/Contents/Resources/appIcon.icns" 0xEBF5074E
|
79
86
|
"tools/mac/TableManager.app/Contents/MacOS/main.sh" 0x98E69D10
|
80
|
-
"tools/mac/TableManager.app/Contents/MacOS/TableManager.rb"
|
87
|
+
"tools/mac/TableManager.app/Contents/MacOS/TableManager.rb" 0x71F21C88
|
88
|
+
"tools/mac/TableManager.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
|
81
89
|
"tools/mac/TableManager.app/Contents/Info.plist" 0xF6A5877F
|
82
90
|
"tools/mac/TlmViewer.app/Contents/Resources/appIcon.icns" 0x1CBA8EB3
|
83
|
-
"tools/mac/TlmViewer.app/Contents/MacOS/TlmViewer.rb"
|
91
|
+
"tools/mac/TlmViewer.app/Contents/MacOS/TlmViewer.rb" 0xFE723189
|
84
92
|
"tools/mac/TlmViewer.app/Contents/MacOS/main.sh" 0x99FD781B
|
93
|
+
"tools/mac/TlmViewer.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
|
85
94
|
"tools/mac/TlmViewer.app/Contents/Info.plist" 0x821041E0
|
86
95
|
"tools/mac/LimitsMonitor.app/Contents/Resources/appIcon.icns" 0xC98BF799
|
87
96
|
"tools/mac/LimitsMonitor.app/Contents/MacOS/main.sh" 0xCC934478
|
88
|
-
"tools/mac/LimitsMonitor.app/Contents/MacOS/
|
97
|
+
"tools/mac/LimitsMonitor.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
|
98
|
+
"tools/mac/LimitsMonitor.app/Contents/MacOS/LimitsMonitor.rb" 0x04FD96D8
|
89
99
|
"tools/mac/LimitsMonitor.app/Contents/Info.plist" 0xAF650287
|
90
100
|
"tools/mac/TlmExtractor.app/Contents/Resources/appIcon.icns" 0x0AC88876
|
91
|
-
"tools/mac/TlmExtractor.app/Contents/MacOS/TlmExtractor.rb"
|
101
|
+
"tools/mac/TlmExtractor.app/Contents/MacOS/TlmExtractor.rb" 0x1EC4639A
|
92
102
|
"tools/mac/TlmExtractor.app/Contents/MacOS/main.sh" 0x4210EF0D
|
103
|
+
"tools/mac/TlmExtractor.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
|
93
104
|
"tools/mac/TlmExtractor.app/Contents/Info.plist" 0x343784F4
|
94
105
|
"tools/mac/DataViewer.app/Contents/Resources/appIcon.icns" 0x3EC9B207
|
95
|
-
"tools/mac/DataViewer.app/Contents/MacOS/DataViewer.rb"
|
106
|
+
"tools/mac/DataViewer.app/Contents/MacOS/DataViewer.rb" 0x9D20734C
|
96
107
|
"tools/mac/DataViewer.app/Contents/MacOS/main.sh" 0xC7AC5AC6
|
108
|
+
"tools/mac/DataViewer.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
|
97
109
|
"tools/mac/DataViewer.app/Contents/Info.plist" 0xB79CA16B
|
98
110
|
"tools/mac/CmdTlmServer.app/Contents/Resources/appIcon.icns" 0x972CDCC6
|
99
|
-
"tools/mac/CmdTlmServer.app/Contents/MacOS/CmdTlmServer.rb"
|
111
|
+
"tools/mac/CmdTlmServer.app/Contents/MacOS/CmdTlmServer.rb" 0x4C7A4FCB
|
100
112
|
"tools/mac/CmdTlmServer.app/Contents/MacOS/main.sh" 0xB8D1BE6E
|
113
|
+
"tools/mac/CmdTlmServer.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
|
101
114
|
"tools/mac/CmdTlmServer.app/Contents/Info.plist" 0x97E53674
|
102
115
|
"tools/mac/CmdSender.app/Contents/Resources/appIcon.icns" 0xEC403A52
|
103
|
-
"tools/mac/CmdSender.app/Contents/MacOS/CmdSender.rb"
|
116
|
+
"tools/mac/CmdSender.app/Contents/MacOS/CmdSender.rb" 0x10346CF4
|
104
117
|
"tools/mac/CmdSender.app/Contents/MacOS/main.sh" 0x995D6C7D
|
118
|
+
"tools/mac/CmdSender.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
|
105
119
|
"tools/mac/CmdSender.app/Contents/Info.plist" 0x87039019
|
106
120
|
"tools/mac/ScriptRunner.app/Contents/Resources/appIcon.icns" 0x9246743E
|
107
121
|
"tools/mac/ScriptRunner.app/Contents/MacOS/main.sh" 0xE3274772
|
108
|
-
"tools/mac/ScriptRunner.app/Contents/MacOS/
|
122
|
+
"tools/mac/ScriptRunner.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
|
123
|
+
"tools/mac/ScriptRunner.app/Contents/MacOS/ScriptRunner.rb" 0x20F38758
|
109
124
|
"tools/mac/ScriptRunner.app/Contents/Info.plist" 0x1BC8C5E9
|
110
125
|
"tools/mac/Replay.app/Contents/Resources/appIcon.icns" 0x0E6B32E5
|
111
|
-
"tools/mac/Replay.app/Contents/MacOS/Replay.rb"
|
126
|
+
"tools/mac/Replay.app/Contents/MacOS/Replay.rb" 0xAC00D2AD
|
112
127
|
"tools/mac/Replay.app/Contents/MacOS/main.sh" 0x211D29BB
|
128
|
+
"tools/mac/Replay.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
|
113
129
|
"tools/mac/Replay.app/Contents/Info.plist" 0x894AC4CF
|
114
130
|
"tools/mac/PacketViewer.app/Contents/Resources/appIcon.icns" 0xDF373DAE
|
115
131
|
"tools/mac/PacketViewer.app/Contents/MacOS/main.sh" 0x0D28EF08
|
116
|
-
"tools/mac/PacketViewer.app/Contents/MacOS/
|
132
|
+
"tools/mac/PacketViewer.app/Contents/MacOS/tool_launch.rb" 0x0BDB6696
|
133
|
+
"tools/mac/PacketViewer.app/Contents/MacOS/PacketViewer.rb" 0xF23A40BB
|
117
134
|
"tools/mac/PacketViewer.app/Contents/Info.plist" 0x6934BF89
|
118
|
-
"tools/LimitsMonitor"
|
119
|
-
"tools/HandbookCreator"
|
120
|
-
"tools/Replay.bat"
|
121
|
-
"tools/Launcher"
|
122
|
-
"tools/CmdExtractor.bat"
|
123
|
-
"tools/OpenGLBuilder.bat"
|
124
|
-
"tools/ScriptRunner.bat"
|
125
|
-
"tools/
|
126
|
-
"tools/
|
127
|
-
"tools/
|
128
|
-
"tools/
|
129
|
-
"tools/
|
130
|
-
"tools/
|
131
|
-
"tools/
|
132
|
-
"tools/
|
135
|
+
"tools/LimitsMonitor" 0x04FD96D8
|
136
|
+
"tools/HandbookCreator" 0xD927814C
|
137
|
+
"tools/Replay.bat" 0x09A34857
|
138
|
+
"tools/Launcher" 0xFD4E356C
|
139
|
+
"tools/CmdExtractor.bat" 0x09A34857
|
140
|
+
"tools/OpenGLBuilder.bat" 0x09A34857
|
141
|
+
"tools/ScriptRunner.bat" 0x09A34857
|
142
|
+
"tools/tool_launch.rb" 0x0BDB6696
|
143
|
+
"tools/TableManager" 0x71F21C88
|
144
|
+
"tools/TlmViewer" 0xFE723189
|
145
|
+
"tools/CmdExtractor" 0x96E82AC3
|
146
|
+
"tools/DataViewer.bat" 0x09A34857
|
147
|
+
"tools/CmdTlmServer" 0x4C7A4FCB
|
148
|
+
"tools/ScriptRunner" 0x20F38758
|
149
|
+
"tools/DataViewer" 0x9D20734C
|
150
|
+
"tools/TlmGrapher.bat" 0x09A34857
|
133
151
|
"procedures/README.txt" 0x93B2C07E
|
@@ -14,6 +14,7 @@ MULTITOOL_END
|
|
14
14
|
TOOL "Command and Telemetry Server" "LAUNCH CmdTlmServer" "cts.png" --config cmd_tlm_server.txt
|
15
15
|
TOOL "Replay" "LAUNCH Replay" "replay.png"
|
16
16
|
TOOL "Limits Monitor" "LAUNCH LimitsMonitor" "limits_monitor.png"
|
17
|
+
AUTO_GEM_TOOLS
|
17
18
|
|
18
19
|
DIVIDER
|
19
20
|
LABEL "Commanding and Scripting"
|
data/install/tools/CmdExtractor
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
# encoding: ascii-8bit
|
3
3
|
|
4
|
-
# Copyright
|
4
|
+
# Copyright 2015 Ball Aerospace & Technologies Corp.
|
5
5
|
# All Rights Reserved.
|
6
6
|
#
|
7
7
|
# This program is free software; you can modify and/or redistribute it
|
@@ -9,7 +9,8 @@
|
|
9
9
|
# as published by the Free Software Foundation; version 3 with
|
10
10
|
# attribution addendums as found in the LICENSE.txt
|
11
11
|
|
12
|
-
|
13
|
-
|
14
|
-
require 'cosmos/tools/cmd_extractor/cmd_extractor'
|
15
|
-
Cosmos::CmdExtractor.run
|
12
|
+
require_relative 'tool_launch'
|
13
|
+
tool_launch do
|
14
|
+
require 'cosmos/tools/cmd_extractor/cmd_extractor'
|
15
|
+
Cosmos::CmdExtractor.run
|
16
|
+
end
|