cosmos 3.4.2 → 3.5.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.
Files changed (261) hide show
  1. checksums.yaml +4 -4
  2. data/Manifest.txt +69 -11
  3. data/autohotkey/config/targets/INST/cmd_tlm/inst_tlm.txt +23 -0
  4. data/autohotkey/tools/TestRunnerAHK5 +17 -0
  5. data/autohotkey/tools/TestRunnerAHK6 +17 -0
  6. data/autohotkey/tools/cmd_extractor.ahk +6 -0
  7. data/autohotkey/tools/data_viewer.ahk +6 -0
  8. data/autohotkey/tools/limits_monitor.ahk +67 -14
  9. data/autohotkey/tools/replay.ahk +6 -0
  10. data/autohotkey/tools/test_runner5.ahk +8 -0
  11. data/autohotkey/tools/test_runner6.ahk +5 -0
  12. data/autohotkey/tools/tlm_extractor.ahk +25 -1
  13. data/autohotkey/tools/tlm_grapher.ahk +6 -0
  14. data/cosmos.gemspec +19 -19
  15. data/data/crc.txt +46 -46
  16. data/data/critical.wav +0 -0
  17. data/data/information.wav +0 -0
  18. data/data/input.wav +0 -0
  19. data/data/message.wav +0 -0
  20. data/data/question.wav +0 -0
  21. data/data/warning.wav +0 -0
  22. data/demo/Gemfile +5 -1
  23. data/demo/Launcher +5 -4
  24. data/demo/Launcher.bat +6 -56
  25. data/demo/config/data/crc.txt +73 -55
  26. data/demo/config/system/system.txt +1 -0
  27. data/demo/config/targets/EXAMPLE/cmd_tlm/example_tlm.txt +2 -0
  28. data/demo/procedures/example_test.rb +17 -16
  29. data/demo/tools/CmdExtractor +6 -5
  30. data/demo/tools/CmdExtractor.bat +6 -56
  31. data/demo/tools/CmdSender +6 -5
  32. data/demo/tools/CmdSender.bat +6 -56
  33. data/demo/tools/CmdTlmServer +6 -5
  34. data/demo/tools/CmdTlmServer.bat +6 -56
  35. data/demo/tools/DataViewer +6 -5
  36. data/demo/tools/DataViewer.bat +6 -56
  37. data/demo/tools/ExampleTarget +6 -5
  38. data/demo/tools/ExampleTarget.bat +6 -56
  39. data/demo/tools/HandbookCreator +6 -5
  40. data/demo/tools/HandbookCreator.bat +6 -58
  41. data/demo/tools/Launcher +6 -5
  42. data/demo/tools/Launcher.bat +6 -56
  43. data/demo/tools/LimitsMonitor +6 -5
  44. data/demo/tools/LimitsMonitor.bat +6 -56
  45. data/demo/tools/OpenGLBuilder +6 -5
  46. data/demo/tools/OpenGLBuilder.bat +6 -56
  47. data/demo/tools/PacketViewer +6 -5
  48. data/demo/tools/PacketViewer.bat +6 -56
  49. data/demo/tools/Replay +6 -5
  50. data/demo/tools/Replay.bat +6 -56
  51. data/demo/tools/ScpiTarget +6 -5
  52. data/demo/tools/ScpiTarget.bat +6 -56
  53. data/demo/tools/ScriptRunner +6 -5
  54. data/demo/tools/ScriptRunner.bat +6 -56
  55. data/demo/tools/TableManager +6 -5
  56. data/demo/tools/TableManager.bat +6 -56
  57. data/demo/tools/TestRunner +6 -5
  58. data/demo/tools/TestRunner.bat +6 -56
  59. data/demo/tools/TlmExtractor +6 -5
  60. data/demo/tools/TlmExtractor.bat +6 -56
  61. data/demo/tools/TlmGrapher +6 -5
  62. data/demo/tools/TlmGrapher.bat +6 -56
  63. data/demo/tools/TlmViewer +6 -5
  64. data/demo/tools/TlmViewer.bat +6 -56
  65. data/demo/tools/ToolLaunch.bat +63 -0
  66. data/demo/tools/mac/CmdExtractor.app/Contents/MacOS/CmdExtractor.rb +6 -5
  67. data/demo/tools/mac/CmdExtractor.app/Contents/MacOS/tool_launch.rb +38 -0
  68. data/demo/tools/mac/CmdSender.app/Contents/MacOS/CmdSender.rb +6 -5
  69. data/demo/tools/mac/CmdSender.app/Contents/MacOS/tool_launch.rb +38 -0
  70. data/demo/tools/mac/CmdTlmServer.app/Contents/MacOS/CmdTlmServer.rb +6 -5
  71. data/demo/tools/mac/CmdTlmServer.app/Contents/MacOS/tool_launch.rb +38 -0
  72. data/demo/tools/mac/DataViewer.app/Contents/MacOS/DataViewer.rb +6 -5
  73. data/demo/tools/mac/DataViewer.app/Contents/MacOS/tool_launch.rb +38 -0
  74. data/demo/tools/mac/HandbookCreator.app/Contents/MacOS/HandbookCreator.rb +6 -5
  75. data/demo/tools/mac/HandbookCreator.app/Contents/MacOS/tool_launch.rb +38 -0
  76. data/demo/tools/mac/Launcher.app/Contents/MacOS/Launcher.rb +6 -5
  77. data/demo/tools/mac/Launcher.app/Contents/MacOS/tool_launch.rb +38 -0
  78. data/demo/tools/mac/LimitsMonitor.app/Contents/MacOS/LimitsMonitor.rb +6 -5
  79. data/demo/tools/mac/LimitsMonitor.app/Contents/MacOS/tool_launch.rb +38 -0
  80. data/demo/tools/mac/OpenGLBuilder.app/Contents/MacOS/OpenGLBuilder.rb +6 -5
  81. data/demo/tools/mac/OpenGLBuilder.app/Contents/MacOS/tool_launch.rb +38 -0
  82. data/demo/tools/mac/PacketViewer.app/Contents/MacOS/PacketViewer.rb +6 -5
  83. data/demo/tools/mac/PacketViewer.app/Contents/MacOS/tool_launch.rb +38 -0
  84. data/demo/tools/mac/Replay.app/Contents/MacOS/Replay.rb +6 -5
  85. data/demo/tools/mac/Replay.app/Contents/MacOS/tool_launch.rb +38 -0
  86. data/demo/tools/mac/ScriptRunner.app/Contents/MacOS/ScriptRunner.rb +6 -5
  87. data/demo/tools/mac/ScriptRunner.app/Contents/MacOS/tool_launch.rb +38 -0
  88. data/demo/tools/mac/TableManager.app/Contents/MacOS/TableManager.rb +6 -5
  89. data/demo/tools/mac/TableManager.app/Contents/MacOS/tool_launch.rb +38 -0
  90. data/demo/tools/mac/TestRunner.app/Contents/MacOS/TestRunner.rb +6 -5
  91. data/demo/tools/mac/TestRunner.app/Contents/MacOS/tool_launch.rb +38 -0
  92. data/demo/tools/mac/TlmExtractor.app/Contents/MacOS/TlmExtractor.rb +6 -5
  93. data/demo/tools/mac/TlmExtractor.app/Contents/MacOS/tool_launch.rb +38 -0
  94. data/demo/tools/mac/TlmGrapher.app/Contents/MacOS/TlmGrapher.rb +6 -5
  95. data/demo/tools/mac/TlmGrapher.app/Contents/MacOS/tool_launch.rb +38 -0
  96. data/demo/tools/mac/TlmViewer.app/Contents/MacOS/TlmViewer.rb +6 -5
  97. data/demo/tools/mac/TlmViewer.app/Contents/MacOS/tool_launch.rb +38 -0
  98. data/demo/tools/tool_launch.rb +38 -0
  99. data/install/Gemfile +5 -1
  100. data/install/Launcher +5 -3
  101. data/install/Launcher.bat +6 -56
  102. data/install/config/data/crc.txt +67 -49
  103. data/install/config/tools/launcher/launcher.txt +1 -0
  104. data/install/tools/CmdExtractor +6 -5
  105. data/install/tools/CmdExtractor.bat +6 -56
  106. data/install/tools/CmdSender +6 -5
  107. data/install/tools/CmdSender.bat +6 -56
  108. data/install/tools/CmdTlmServer +6 -5
  109. data/install/tools/CmdTlmServer.bat +6 -56
  110. data/install/tools/DataViewer +6 -5
  111. data/install/tools/DataViewer.bat +6 -56
  112. data/install/tools/HandbookCreator +6 -5
  113. data/install/tools/HandbookCreator.bat +6 -58
  114. data/install/tools/Launcher +6 -5
  115. data/install/tools/Launcher.bat +6 -56
  116. data/install/tools/LimitsMonitor +6 -5
  117. data/install/tools/LimitsMonitor.bat +6 -56
  118. data/install/tools/OpenGLBuilder +6 -5
  119. data/install/tools/OpenGLBuilder.bat +6 -56
  120. data/install/tools/PacketViewer +6 -5
  121. data/install/tools/PacketViewer.bat +6 -56
  122. data/install/tools/Replay +6 -5
  123. data/install/tools/Replay.bat +6 -56
  124. data/install/tools/ScriptRunner +6 -5
  125. data/install/tools/ScriptRunner.bat +6 -56
  126. data/install/tools/TableManager +6 -5
  127. data/install/tools/TableManager.bat +6 -56
  128. data/install/tools/TestRunner +6 -5
  129. data/install/tools/TestRunner.bat +6 -56
  130. data/install/tools/TlmExtractor +6 -5
  131. data/install/tools/TlmExtractor.bat +6 -56
  132. data/install/tools/TlmGrapher +6 -5
  133. data/install/tools/TlmGrapher.bat +6 -56
  134. data/install/tools/TlmViewer +6 -5
  135. data/install/tools/TlmViewer.bat +6 -56
  136. data/install/tools/ToolLaunch.bat +63 -0
  137. data/install/tools/mac/CmdExtractor.app/Contents/MacOS/CmdExtractor.rb +6 -5
  138. data/install/tools/mac/CmdExtractor.app/Contents/MacOS/tool_launch.rb +38 -0
  139. data/install/tools/mac/CmdSender.app/Contents/MacOS/CmdSender.rb +6 -5
  140. data/install/tools/mac/CmdSender.app/Contents/MacOS/tool_launch.rb +38 -0
  141. data/install/tools/mac/CmdTlmServer.app/Contents/MacOS/CmdTlmServer.rb +6 -5
  142. data/install/tools/mac/CmdTlmServer.app/Contents/MacOS/tool_launch.rb +38 -0
  143. data/install/tools/mac/DataViewer.app/Contents/MacOS/DataViewer.rb +6 -5
  144. data/install/tools/mac/DataViewer.app/Contents/MacOS/tool_launch.rb +38 -0
  145. data/install/tools/mac/HandbookCreator.app/Contents/MacOS/HandbookCreator.rb +6 -5
  146. data/install/tools/mac/HandbookCreator.app/Contents/MacOS/tool_launch.rb +38 -0
  147. data/install/tools/mac/Launcher.app/Contents/MacOS/Launcher.rb +6 -5
  148. data/install/tools/mac/Launcher.app/Contents/MacOS/tool_launch.rb +38 -0
  149. data/install/tools/mac/LimitsMonitor.app/Contents/MacOS/LimitsMonitor.rb +6 -5
  150. data/install/tools/mac/LimitsMonitor.app/Contents/MacOS/tool_launch.rb +38 -0
  151. data/install/tools/mac/OpenGLBuilder.app/Contents/MacOS/OpenGLBuilder.rb +6 -5
  152. data/install/tools/mac/OpenGLBuilder.app/Contents/MacOS/tool_launch.rb +38 -0
  153. data/install/tools/mac/PacketViewer.app/Contents/MacOS/PacketViewer.rb +6 -5
  154. data/install/tools/mac/PacketViewer.app/Contents/MacOS/tool_launch.rb +38 -0
  155. data/install/tools/mac/Replay.app/Contents/MacOS/Replay.rb +6 -5
  156. data/install/tools/mac/Replay.app/Contents/MacOS/tool_launch.rb +38 -0
  157. data/install/tools/mac/ScriptRunner.app/Contents/MacOS/ScriptRunner.rb +6 -5
  158. data/install/tools/mac/ScriptRunner.app/Contents/MacOS/tool_launch.rb +38 -0
  159. data/install/tools/mac/TableManager.app/Contents/MacOS/TableManager.rb +6 -5
  160. data/install/tools/mac/TableManager.app/Contents/MacOS/tool_launch.rb +38 -0
  161. data/install/tools/mac/TestRunner.app/Contents/MacOS/TestRunner.rb +6 -5
  162. data/install/tools/mac/TestRunner.app/Contents/MacOS/tool_launch.rb +38 -0
  163. data/install/tools/mac/TlmExtractor.app/Contents/MacOS/TlmExtractor.rb +6 -5
  164. data/install/tools/mac/TlmExtractor.app/Contents/MacOS/tool_launch.rb +38 -0
  165. data/install/tools/mac/TlmGrapher.app/Contents/MacOS/TlmGrapher.rb +6 -5
  166. data/install/tools/mac/TlmGrapher.app/Contents/MacOS/tool_launch.rb +38 -0
  167. data/install/tools/mac/TlmViewer.app/Contents/MacOS/TlmViewer.rb +6 -5
  168. data/install/tools/mac/TlmViewer.app/Contents/MacOS/tool_launch.rb +38 -0
  169. data/install/tools/tool_launch.rb +38 -0
  170. data/lib/cosmos/core_ext/string.rb +3 -2
  171. data/lib/cosmos/gui/dialogs/about_dialog.rb +3 -7
  172. data/lib/cosmos/gui/dialogs/find_replace_dialog.rb +200 -136
  173. data/lib/cosmos/gui/opengl/gl_viewer.rb +8 -8
  174. data/lib/cosmos/gui/qt.rb +56 -27
  175. data/lib/cosmos/gui/qt_tool.rb +3 -1
  176. data/lib/cosmos/gui/text/ruby_editor.rb +130 -110
  177. data/lib/cosmos/gui/utilities/script_module_gui.rb +150 -4
  178. data/lib/cosmos/io/json_drb.rb +1 -1
  179. data/lib/cosmos/io/win32_serial_driver.rb +2 -4
  180. data/lib/cosmos/packet_logs/ccsds_log_reader.rb +1 -0
  181. data/lib/cosmos/packet_logs/packet_log_reader.rb +13 -4
  182. data/lib/cosmos/packets/limits.rb +6 -3
  183. data/lib/cosmos/packets/telemetry.rb +34 -3
  184. data/lib/cosmos/processors/new_packet_log_processor.rb +1 -1
  185. data/lib/cosmos/script/commands.rb +20 -2
  186. data/lib/cosmos/script/extract.rb +11 -3
  187. data/lib/cosmos/script/limits.rb +6 -0
  188. data/lib/cosmos/script/scripting.rb +17 -9
  189. data/lib/cosmos/system/system.rb +73 -17
  190. data/lib/cosmos/system/target.rb +10 -5
  191. data/lib/cosmos/tools/cmd_extractor/cmd_extractor.rb +1 -0
  192. data/lib/cosmos/tools/cmd_tlm_server/api.rb +95 -0
  193. data/lib/cosmos/tools/cmd_tlm_server/cmd_tlm_server.rb +8 -4
  194. data/lib/cosmos/tools/cmd_tlm_server/cmd_tlm_server_gui.rb +55 -0
  195. data/lib/cosmos/tools/data_viewer/data_viewer.rb +5 -12
  196. data/lib/cosmos/tools/data_viewer/data_viewer_component.rb +14 -48
  197. data/lib/cosmos/tools/handbook_creator/handbook_creator_config.rb +1 -5
  198. data/lib/cosmos/tools/launcher/launcher.rb +4 -0
  199. data/lib/cosmos/tools/launcher/launcher_config.rb +50 -0
  200. data/lib/cosmos/tools/launcher/launcher_tool.rb +21 -9
  201. data/lib/cosmos/tools/limits_monitor/limits_monitor.rb +607 -566
  202. data/lib/cosmos/tools/replay/replay.rb +51 -45
  203. data/lib/cosmos/tools/script_runner/script_runner.rb +13 -5
  204. data/lib/cosmos/tools/script_runner/script_runner_frame.rb +8 -109
  205. data/lib/cosmos/tools/test_runner/test.rb +65 -6
  206. data/lib/cosmos/tools/test_runner/test_runner.rb +4 -4
  207. data/lib/cosmos/tools/tlm_extractor/tlm_extractor.rb +5 -0
  208. data/lib/cosmos/tools/tlm_grapher/tabbed_plots_tool/tabbed_plots_logfile_thread.rb +3 -0
  209. data/lib/cosmos/tools/tlm_viewer/tlm_viewer.rb +3 -2
  210. data/lib/cosmos/tools/tlm_viewer/tlm_viewer_config.rb +9 -6
  211. data/lib/cosmos/tools/tlm_viewer/widgets/array_widget.rb +1 -5
  212. data/lib/cosmos/tools/tlm_viewer/widgets/block_widget.rb +1 -5
  213. data/lib/cosmos/top_level.rb +86 -3
  214. data/lib/cosmos/version.rb +5 -5
  215. data/lib/cosmos/win32/win32_main.rb +7 -1
  216. data/spec/packet_logs/packet_log_reader_spec.rb +67 -7
  217. data/spec/packets/limits_spec.rb +19 -1
  218. data/spec/packets/telemetry_spec.rb +44 -1
  219. data/spec/script/commands_spec.rb +14 -0
  220. data/spec/script/scripting_spec.rb +5 -1
  221. data/spec/script/telemetry_spec.rb +38 -3
  222. data/spec/system/system_spec.rb +24 -4
  223. data/spec/tools/cmd_tlm_server/api_spec.rb +30 -0
  224. data/test/benchmarks/gsub_benchmark.rb +42 -4
  225. data/test/benchmarks/is_a_benchmark.rb +34 -0
  226. data/test/performance/config/data/crc.txt +161 -171
  227. data/test/performance/config/system/system_packets.txt +10 -10
  228. data/test/performance/config/system/system_threads.txt +30 -30
  229. data/test/performance/config/targets/COSMOS/cmd_tlm/cosmos_server_cmds.txt +7 -2
  230. data/test/performance/config/targets/PACKET/cmd_tlm/packet_cmds.txt +20 -0
  231. data/test/performance/config/targets/PACKET/cmd_tlm/packet_tlm.txt +98 -0
  232. data/test/performance/config/targets/{EXAMPLE → PACKET}/cmd_tlm_server.txt +2 -2
  233. data/test/performance/config/targets/PACKET/lib/packet_interface.rb +22 -0
  234. data/test/performance/config/targets/PACKET/lib/packet_limits_response.rb +24 -0
  235. data/test/performance/config/targets/PACKET/screens/status.txt +25 -0
  236. data/test/performance/config/targets/PACKET/target.txt +28 -0
  237. data/test/performance/config/targets/{EXAMPLE/cmd_tlm/example_cmds.txt → THREAD/cmd_tlm/thread_cmds.txt} +1 -1
  238. data/test/performance/config/targets/{EXAMPLE/cmd_tlm/example_tlm.txt → THREAD/cmd_tlm/thread_tlm.txt} +1 -1
  239. data/test/performance/config/targets/THREAD/cmd_tlm_server.txt +6 -0
  240. data/test/performance/config/targets/{EXAMPLE/lib/example_interface.rb → THREAD/lib/thread_interface.rb} +1 -1
  241. data/test/performance/config/targets/THREAD/screens/status.txt +25 -0
  242. data/test/performance/config/targets/{EXAMPLE → THREAD}/target.txt +0 -0
  243. data/test/performance/config/tools/cmd_tlm_server/cmd_tlm_server_packets.txt +24 -30
  244. data/test/performance/config/tools/cmd_tlm_server/cmd_tlm_server_threads.txt +31 -31
  245. data/test/performance/config/tools/launcher/launcher_packets.txt +16 -11
  246. data/test/performance/config/tools/launcher/launcher_threads.txt +41 -35
  247. data/test/performance/config/tools/tlm_grapher/tlm_grapher.txt +204 -0
  248. data/test/performance/config/tools/tlm_viewer/tlm_viewer.txt +10 -38
  249. data/test/performance/lib/packet_target.rb +126 -0
  250. data/test/performance/lib/{example_target.rb → thread_target.rb} +9 -9
  251. data/test/performance/tools/CmdTlmServerMemProf +1 -1
  252. data/test/performance/tools/{ExampleTarget → PacketTarget} +2 -2
  253. data/test/performance/tools/{ExampleTarget.bat → PacketTarget.bat} +0 -0
  254. data/test/performance/tools/ThreadTarget +14 -0
  255. data/test/performance/tools/ThreadTarget.bat +59 -0
  256. data/test/performance/tools/TlmGrapherMemProf +1 -1
  257. data/test/performance/tools/TlmViewerMemProf +19 -0
  258. data/{autohotkey/tools/Replay.bat → test/performance/tools/TlmViewerMemProf.bat} +1 -1
  259. metadata +107 -55
  260. data/test/performance/lib/example_background_task.rb +0 -57
  261. 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 2014 Ball Aerospace & Technologies Corp.
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
- require 'bundler/setup' unless ENV['COSMOS_DEVEL']
13
- require 'cosmos'
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 2014 Ball Aerospace & Technologies Corp.
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
- require 'bundler/setup' unless ENV['COSMOS_DEVEL']
13
- require 'cosmos'
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
@@ -3,4 +3,8 @@
3
3
  source 'https://rubygems.org'
4
4
 
5
5
  gem 'ruby-termios', '~> 0.9' if RbConfig::CONFIG['target_os'] !~ /mswin|mingw|cygwin/i
6
- gem 'cosmos'
6
+ if ENV['COSMOS_DEVEL']
7
+ gem 'cosmos', :path => "../"
8
+ else
9
+ gem 'cosmos'
10
+ end
@@ -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
- require 'cosmos'
13
- require 'cosmos/tools/launcher/launcher'
14
- Cosmos::Launcher.run
12
+ require_relative 'tools/launch_tool'
13
+ launch_tool do
14
+ require 'cosmos/tools/launcher/launcher'
15
+ Cosmos::Launcher.run
16
+ end
@@ -1,59 +1,9 @@
1
1
  @ECHO OFF
2
2
 
3
- SET RUBYEXE=rubyw.exe
3
+ IF NOT EXIST %~dp0tools\LaunchTool.bat (
4
+ echo %~dp0tools\LaunchTool.bat does not exist
5
+ pause
6
+ exit /b
7
+ )
4
8
 
5
- SET "DESTINATION_DIR=%~dp0..\"
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 %*
@@ -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" 0xECFBB154
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" 0x4ECDFE31
38
- "tools/TestRunner.bat" 0xF1C468BA
39
- "tools/PacketViewer.bat" 0xF1C468BA
40
- "tools/TlmViewer.bat" 0xF1C468BA
41
- "tools/TlmExtractor" 0x2EF21468
42
- "tools/CmdTlmServer.bat" 0xF1C468BA
43
- "tools/OpenGLBuilder" 0x96F7D2C2
44
- "tools/Replay" 0xA2C90DA4
45
- "tools/CmdSender" 0x8F2A9EC6
46
- "tools/PacketViewer" 0x019FC483
47
- "tools/TableManager.bat" 0xF1C468BA
48
- "tools/TlmExtractor.bat" 0xF1C468BA
49
- "tools/HandbookCreator.bat" 0x4D5B6471
50
- "tools/Launcher.bat" 0xF1C468BA
51
- "tools/TestRunner" 0xDE0A3BD7
52
- "tools/CmdSender.bat" 0xF1C468BA
53
- "tools/LimitsMonitor.bat" 0xF1C468BA
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" 0x9AD128F4
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" 0xDE0A3BD7
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" 0x4ECDFE31
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" 0xF992D0E5
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" 0x96F7D2C2
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" 0x0D82EDCA
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" 0x2973832A
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" 0x922D7C22
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/LimitsMonitor.rb" 0x64186FBA
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" 0x2EF21468
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" 0xEC36C843
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" 0xEA490D20
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" 0x8F2A9EC6
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/ScriptRunner.rb" 0x43D56B62
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" 0xA2C90DA4
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/PacketViewer.rb" 0x019FC483
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" 0x64186FBA
119
- "tools/HandbookCreator" 0x0D82EDCA
120
- "tools/Replay.bat" 0xF1C468BA
121
- "tools/Launcher" 0xF992D0E5
122
- "tools/CmdExtractor.bat" 0xF1C468BA
123
- "tools/OpenGLBuilder.bat" 0xF1C468BA
124
- "tools/ScriptRunner.bat" 0xF1C468BA
125
- "tools/TableManager" 0x2973832A
126
- "tools/TlmViewer" 0x922D7C22
127
- "tools/CmdExtractor" 0x9AD128F4
128
- "tools/DataViewer.bat" 0xF1C468BA
129
- "tools/CmdTlmServer" 0xEA490D20
130
- "tools/ScriptRunner" 0x43D56B62
131
- "tools/DataViewer" 0xEC36C843
132
- "tools/TlmGrapher.bat" 0xF1C468BA
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"
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
  # encoding: ascii-8bit
3
3
 
4
- # Copyright 2014 Ball Aerospace & Technologies Corp.
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
- require 'bundler/setup' unless ENV['COSMOS_DEVEL']
13
- require 'cosmos'
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