openc3 6.10.2 → 6.10.4

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 (34) hide show
  1. checksums.yaml +4 -4
  2. data/bin/openc3cli +15 -4
  3. data/data/config/item_modifiers.yaml +2 -2
  4. data/data/config/parameter_modifiers.yaml +2 -2
  5. data/data/config/plugins.yaml +38 -0
  6. data/data/config/screen.yaml +23 -0
  7. data/data/config/target.yaml +8 -3
  8. data/data/config/widgets.yaml +30 -0
  9. data/ext/openc3/ext/config_parser/config_parser.c +49 -37
  10. data/lib/openc3/accessors/accessor.rb +2 -2
  11. data/lib/openc3/accessors/json_accessor.rb +1 -1
  12. data/lib/openc3/api/tlm_api.rb +1 -6
  13. data/lib/openc3/config/config_parser.rb +45 -25
  14. data/lib/openc3/io/json_api_object.rb +38 -14
  15. data/lib/openc3/io/json_drb_object.rb +29 -11
  16. data/lib/openc3/io/json_rpc.rb +20 -9
  17. data/lib/openc3/microservices/interface_microservice.rb +8 -3
  18. data/lib/openc3/models/plugin_model.rb +40 -9
  19. data/lib/openc3/models/target_model.rb +2 -1
  20. data/lib/openc3/packets/packet.rb +5 -2
  21. data/lib/openc3/packets/packet_config.rb +4 -2
  22. data/lib/openc3/packets/parsers/packet_item_parser.rb +9 -0
  23. data/lib/openc3/packets/parsers/xtce_converter.rb +464 -100
  24. data/lib/openc3/script/web_socket_api.rb +1 -1
  25. data/lib/openc3/topics/command_decom_topic.rb +3 -2
  26. data/lib/openc3/utilities/cli_generator.rb +1 -1
  27. data/lib/openc3/version.rb +5 -5
  28. data/templates/plugin/plugin.gemspec +1 -1
  29. data/templates/tool_angular/package.json +2 -2
  30. data/templates/tool_react/package.json +1 -1
  31. data/templates/tool_svelte/package.json +1 -1
  32. data/templates/tool_vue/package.json +3 -3
  33. data/templates/widget/package.json +2 -2
  34. metadata +15 -1
@@ -70,7 +70,7 @@ module OpenC3
70
70
  end
71
71
  if timeout
72
72
  end_time = Time.now
73
- if (start_time - end_time) > timeout
73
+ if (end_time - start_time) > timeout
74
74
  raise Timeout::Error, "No Data Timeout"
75
75
  end
76
76
  end
@@ -14,7 +14,7 @@
14
14
  # GNU Affero General Public License for more details.
15
15
 
16
16
  # Modified by OpenC3, Inc.
17
- # All changes Copyright 2024, OpenC3, Inc.
17
+ # All changes Copyright 2026, OpenC3, Inc.
18
18
  # All Rights Reserved
19
19
  #
20
20
  # This file may also be used under the terms of a commercial license
@@ -39,8 +39,9 @@ module OpenC3
39
39
  json_hash[item.name + "__F"] = packet.read_item(item, :FORMATTED) if item.format_string
40
40
  json_hash[item.name + "__U"] = packet.read_item(item, :WITH_UNITS) if item.units
41
41
  end
42
- json_hash['extra'] = JSON.generate(packet.extra.as_json, allow_nan: true)
42
+ json_hash['extra'] = JSON.generate(packet.extra.as_json, allow_nan: true) if packet.extra
43
43
  msg_hash['json_data'] = JSON.generate(json_hash.as_json, allow_nan: true)
44
+ msg_hash['extra'] = JSON.generate(packet.extra.as_json, allow_nan: true) if packet.extra
44
45
  EphemeralStoreQueued.write_topic(topic, msg_hash)
45
46
  end
46
47
 
@@ -228,7 +228,7 @@ module OpenC3
228
228
  else
229
229
  'requirements.txt'
230
230
  end
231
- s.files = Dir.glob("{targets,lib,tools,microservices}/**/*") + %w(Rakefile README.md LICENSE.txt plugin.txt) + [python_dep_file]
231
+ s.files = Dir.glob("{targets,lib,public,tools,microservices}/**/*") + %w(Rakefile README.md LICENSE.txt plugin.txt) + [python_dep_file]
232
232
  RUBY
233
233
  end
234
234
  File.write(gemspec_filename, gemspec)
@@ -1,14 +1,14 @@
1
1
  # encoding: ascii-8bit
2
2
 
3
- OPENC3_VERSION = '6.10.2'
3
+ OPENC3_VERSION = '6.10.4'
4
4
  module OpenC3
5
5
  module Version
6
6
  MAJOR = '6'
7
7
  MINOR = '10'
8
- PATCH = '2'
8
+ PATCH = '4'
9
9
  OTHER = ''
10
- BUILD = 'f10cec058f400e8a289b54400c3731e01d20357e'
10
+ BUILD = '3ec40189fe2728ada6e0be2dd347073fafed95aa'
11
11
  end
12
- VERSION = '6.10.2'
13
- GEM_VERSION = '6.10.2'
12
+ VERSION = '6.10.4'
13
+ GEM_VERSION = '6.10.4'
14
14
  end
@@ -20,5 +20,5 @@ Gem::Specification.new do |s|
20
20
  time = Time.now.strftime("%Y%m%d%H%M%S")
21
21
  s.version = '0.0.0' + ".#{time}"
22
22
  end
23
- s.files = Dir.glob("{targets,lib,tools,microservices}/**/*") + %w(Rakefile README.md LICENSE.txt plugin.txt)
23
+ s.files = Dir.glob("{targets,lib,public,tools,microservices}/**/*") + %w(Rakefile README.md LICENSE.txt plugin.txt)
24
24
  end
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "<%= tool_name %>",
3
- "version": "6.10.2",
3
+ "version": "6.10.4",
4
4
  "scripts": {
5
5
  "ng": "ng",
6
6
  "start": "ng serve",
@@ -23,7 +23,7 @@
23
23
  "@angular/platform-browser-dynamic": "^18.2.6",
24
24
  "@angular/router": "^18.2.6",
25
25
  "@astrouxds/astro-web-components": "^7.24.0",
26
- "@openc3/js-common": "6.10.2",
26
+ "@openc3/js-common": "6.10.4",
27
27
  "rxjs": "~7.8.0",
28
28
  "single-spa": "^5.9.5",
29
29
  "single-spa-angular": "^9.2.0",
@@ -16,7 +16,7 @@
16
16
  "@emotion/react": "^11.13.3",
17
17
  "@emotion/styled": "^11.11.0",
18
18
  "@mui/material": "^6.1.1",
19
- "@openc3/js-common": "6.10.2",
19
+ "@openc3/js-common": "6.10.4",
20
20
  "react": "^18.2.0",
21
21
  "react-dom": "^18.2.0",
22
22
  "single-spa-react": "^5.1.4"
@@ -12,7 +12,7 @@
12
12
  },
13
13
  "dependencies": {
14
14
  "@astrouxds/astro-web-components": "^7.24.0",
15
- "@openc3/js-common": "6.10.2",
15
+ "@openc3/js-common": "6.10.4",
16
16
  "@smui/button": "^7.0.0",
17
17
  "@smui/common": "^7.0.0",
18
18
  "@smui/card": "^7.0.0",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "<%= tool_name %>",
3
- "version": "6.10.2",
3
+ "version": "6.10.4",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -11,8 +11,8 @@
11
11
  },
12
12
  "dependencies": {
13
13
  "@astrouxds/astro-web-components": "^7.24.0",
14
- "@openc3/js-common": "6.10.2",
15
- "@openc3/vue-common": "6.10.2",
14
+ "@openc3/js-common": "6.10.4",
15
+ "@openc3/vue-common": "6.10.4",
16
16
  "axios": "^1.7.7",
17
17
  "date-fns": "^4.1.0",
18
18
  "lodash": "^4.17.21",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "<%= widget_name %>",
3
- "version": "6.10.2",
3
+ "version": "6.10.4",
4
4
  "private": true,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -8,7 +8,7 @@
8
8
  },
9
9
  "dependencies": {
10
10
  "@astrouxds/astro-web-components": "^7.24.0",
11
- "@openc3/vue-common": "6.10.2",
11
+ "@openc3/vue-common": "6.10.4",
12
12
  "vuetify": "^3.7.1"
13
13
  },
14
14
  "devDependencies": {
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openc3
3
3
  version: !ruby/object:Gem::Version
4
- version: 6.10.2
4
+ version: 6.10.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Melton
@@ -682,6 +682,20 @@ dependencies:
682
682
  - - "~>"
683
683
  - !ruby/object:Gem::Version
684
684
  version: '4.6'
685
+ - !ruby/object:Gem::Dependency
686
+ name: equivalent-xml
687
+ requirement: !ruby/object:Gem::Requirement
688
+ requirements:
689
+ - - "~>"
690
+ - !ruby/object:Gem::Version
691
+ version: 0.6.0
692
+ type: :development
693
+ prerelease: false
694
+ version_requirements: !ruby/object:Gem::Requirement
695
+ requirements:
696
+ - - "~>"
697
+ - !ruby/object:Gem::Version
698
+ version: 0.6.0
685
699
  - !ruby/object:Gem::Dependency
686
700
  name: listen
687
701
  requirement: !ruby/object:Gem::Requirement