openc3 5.14.1 → 5.14.2
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.
Potentially problematic release.
This version of openc3 might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/bin/openc3cli +19 -15
- data/bin/pipinstall +9 -0
- data/data/config/target_config.yaml +2 -1
- data/lib/openc3/config/config_parser.rb +12 -12
- data/lib/openc3/conversions/conversion.rb +4 -4
- data/lib/openc3/interfaces/interface.rb +25 -18
- data/lib/openc3/microservices/interface_microservice.rb +27 -23
- data/lib/openc3/models/plugin_model.rb +10 -6
- data/lib/openc3/packets/limits_response.rb +1 -1
- data/lib/openc3/packets/packet_config.rb +41 -24
- data/lib/openc3/packets/packet_item.rb +3 -2
- data/lib/openc3/packets/packet_item_limits.rb +2 -1
- data/lib/openc3/packets/parsers/limits_response_parser.rb +21 -10
- data/lib/openc3/packets/parsers/processor_parser.rb +19 -10
- data/lib/openc3/system/system.rb +1 -1
- data/lib/openc3/system/system_config.rb +9 -10
- data/lib/openc3/system/target.rb +6 -6
- data/lib/openc3/utilities/cli_generator.rb +18 -3
- data/lib/openc3/utilities/python_proxy.rb +52 -0
- data/lib/openc3/version.rb +5 -5
- data/templates/conversion/conversion.py +1 -1
- data/templates/conversion/conversion.rb +1 -1
- data/templates/limits_response/response.py +2 -2
- data/templates/limits_response/response.rb +2 -2
- data/templates/microservice/microservices/TEMPLATE/microservice.py +6 -3
- data/templates/target/targets/TARGET/lib/target.py +2 -2
- data/templates/target/targets/TARGET/target.txt +2 -0
- data/templates/tool_angular/package.json +2 -2
- data/templates/tool_svelte/package.json +1 -1
- data/templates/tool_svelte/src/services/config-parser.js +5 -6
- data/templates/tool_svelte/src/services/openc3-api.js +9 -1
- data/templates/tool_vue/package.json +2 -2
- data/templates/widget/package.json +2 -2
- metadata +4 -2
@@ -1,9 +1,9 @@
|
|
1
1
|
# This class can be used in your scripts like so:
|
2
|
-
#
|
2
|
+
# load_utility '<%= target_class.upcase %>/lib/<%= target_lib_filename %>'
|
3
3
|
# <%= target_object %> = <%= target_class %>()
|
4
4
|
# <%= target_object %>.utility()
|
5
5
|
# For more information see the OpenC3 scripting guide
|
6
6
|
|
7
7
|
class <%= target_class %>:
|
8
|
-
def utility():
|
8
|
+
def utility(self):
|
9
9
|
pass
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "<%= tool_name %>",
|
3
|
-
"version": "5.14.
|
3
|
+
"version": "5.14.2",
|
4
4
|
"scripts": {
|
5
5
|
"ng": "ng",
|
6
6
|
"start": "ng serve",
|
@@ -12,7 +12,7 @@
|
|
12
12
|
},
|
13
13
|
"private": true,
|
14
14
|
"dependencies": {
|
15
|
-
"@openc3/tool-common": "5.14.
|
15
|
+
"@openc3/tool-common": "5.14.2",
|
16
16
|
"@angular/animations": "^17.0.8",
|
17
17
|
"@angular/cdk": "^17.0.4",
|
18
18
|
"@angular/common": "^17.0.8",
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"smui-theme": "smui-theme compile build/smui.css -i src/theme"
|
12
12
|
},
|
13
13
|
"dependencies": {
|
14
|
-
"@openc3/tool-common": "5.14.
|
14
|
+
"@openc3/tool-common": "5.14.2",
|
15
15
|
"@astrouxds/astro-web-components": "7.20.0",
|
16
16
|
"@smui/button": "^7.0.0-beta.16",
|
17
17
|
"@smui/card": "^7.0.0-beta.16",
|
@@ -13,7 +13,7 @@
|
|
13
13
|
# GNU Affero General Public License for more details.
|
14
14
|
|
15
15
|
# Modified by OpenC3, Inc.
|
16
|
-
# All changes Copyright
|
16
|
+
# All changes Copyright 2024, OpenC3, Inc.
|
17
17
|
# All Rights Reserved
|
18
18
|
#
|
19
19
|
# This file may also be used under the terms of a commercial license
|
@@ -39,8 +39,7 @@ export class ConfigParserService {
|
|
39
39
|
filename = ''
|
40
40
|
line = ''
|
41
41
|
lineNumber = 0
|
42
|
-
url = 'https://openc3.com/docs
|
43
|
-
|
42
|
+
url = 'https://docs.openc3.com/docs'
|
44
43
|
constructor() {}
|
45
44
|
|
46
45
|
verify_num_parameters(min_num_params, max_num_params, usage = '') {
|
@@ -53,7 +52,7 @@ export class ConfigParserService {
|
|
53
52
|
this,
|
54
53
|
`Not enough parameters for ${this.keyword}.`,
|
55
54
|
usage,
|
56
|
-
this.url
|
55
|
+
this.url,
|
57
56
|
)
|
58
57
|
}
|
59
58
|
}
|
@@ -63,7 +62,7 @@ export class ConfigParserService {
|
|
63
62
|
this,
|
64
63
|
`Too many parameters for ${this.keyword}.`,
|
65
64
|
usage,
|
66
|
-
this.url
|
65
|
+
this.url,
|
67
66
|
)
|
68
67
|
}
|
69
68
|
}
|
@@ -98,7 +97,7 @@ export class ConfigParserService {
|
|
98
97
|
original_filename,
|
99
98
|
yield_non_keyword_lines,
|
100
99
|
remove_quotes,
|
101
|
-
handler
|
100
|
+
handler,
|
102
101
|
) {
|
103
102
|
let string_concat = false
|
104
103
|
this.line = ''
|
@@ -13,7 +13,7 @@
|
|
13
13
|
# GNU Affero General Public License for more details.
|
14
14
|
|
15
15
|
# Modified by OpenC3, Inc.
|
16
|
-
# All changes Copyright
|
16
|
+
# All changes Copyright 2024, OpenC3, Inc.
|
17
17
|
# All Rights Reserved
|
18
18
|
#
|
19
19
|
# This file may also be used under the terms of a commercial license
|
@@ -164,6 +164,14 @@ export class OpenC3Api {
|
|
164
164
|
return this.exec('disconnect_interface', [interface_name])
|
165
165
|
}
|
166
166
|
|
167
|
+
interface_cmd(interface_name, command_name, ...command_params) {
|
168
|
+
return this.exec('interface_cmd', [
|
169
|
+
interface_name,
|
170
|
+
command_name,
|
171
|
+
...command_params,
|
172
|
+
])
|
173
|
+
}
|
174
|
+
|
167
175
|
get_all_router_info() {
|
168
176
|
return this.exec('get_all_router_info', [])
|
169
177
|
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "<%= tool_name %>",
|
3
|
-
"version": "5.14.
|
3
|
+
"version": "5.14.2",
|
4
4
|
"private": true,
|
5
5
|
"scripts": {
|
6
6
|
"serve": "vue-cli-service serve",
|
@@ -11,7 +11,7 @@
|
|
11
11
|
"test:components": "vue-cli-service test:components"
|
12
12
|
},
|
13
13
|
"dependencies": {
|
14
|
-
"@openc3/tool-common": "5.14.
|
14
|
+
"@openc3/tool-common": "5.14.2",
|
15
15
|
"@astrouxds/astro-web-components": "7.20.0",
|
16
16
|
"axios": "1.6.5",
|
17
17
|
"date-fns": "2.30.0",
|
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "widget",
|
3
|
-
"version": "5.14.
|
3
|
+
"version": "5.14.2",
|
4
4
|
"private": true,
|
5
5
|
"scripts": {
|
6
6
|
"build": "vue-cli-service build --target lib --dest tools/widgets/<%= widget_name %> --formats umd-min <%= widget_path %> --name <%= widget_name %>"
|
7
7
|
},
|
8
8
|
"dependencies": {
|
9
|
-
"@openc3/tool-common": "5.14.
|
9
|
+
"@openc3/tool-common": "5.14.2",
|
10
10
|
"@astrouxds/astro-web-components": "7.20.0",
|
11
11
|
"vue": "2.7.16",
|
12
12
|
"vuetify": "2.7.1"
|
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: 5.14.
|
4
|
+
version: 5.14.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Melton
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2024-
|
12
|
+
date: 2024-02-10 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bundler
|
@@ -761,6 +761,7 @@ files:
|
|
761
761
|
- Rakefile
|
762
762
|
- bin/cstol_converter
|
763
763
|
- bin/openc3cli
|
764
|
+
- bin/pipinstall
|
764
765
|
- bin/rubysloc
|
765
766
|
- data/config/_array_params.yaml
|
766
767
|
- data/config/_canvas_values.yaml
|
@@ -1096,6 +1097,7 @@ files:
|
|
1096
1097
|
- lib/openc3/utilities/migration.rb
|
1097
1098
|
- lib/openc3/utilities/open_telemetry.rb
|
1098
1099
|
- lib/openc3/utilities/process_manager.rb
|
1100
|
+
- lib/openc3/utilities/python_proxy.rb
|
1099
1101
|
- lib/openc3/utilities/quaternion.rb
|
1100
1102
|
- lib/openc3/utilities/redis_secrets.rb
|
1101
1103
|
- lib/openc3/utilities/ruby_lex_utils.rb
|