openc3-cosmos-fakesat 1.0.6 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: aa7c337bf1bd4a0dee5f4cae1c678b30cf30362e1f04f30320f4a799862b05c5
4
- data.tar.gz: 4b71541e38959e6e693b89a95f4d5608cc87b9e2fa33303f5d3d92aa1ff6953a
3
+ metadata.gz: 0eed84169c6bd15e82cf8f6e3f3d67c07e3a611bbeb5e64ce402b177ece5506d
4
+ data.tar.gz: 3b1b5d90af51e3e680c7320b6af0dc453b976bf07028f33d63aecbdaf35f8e28
5
5
  SHA512:
6
- metadata.gz: 2256d3abd062a0897511bf2ebcac98df12caa4887051b53198764d5fd04ee5dfb1c484a26464b7e838aa8e60569070e981347252f984858e4d0bec496f17670d
7
- data.tar.gz: 9e1e408813803f76d0d79164c3fa4f663b49a35ab3a9acf35c34bee284de1c802074f3687ef0260a056c1f76aa4df929e77f3c831e99075bc6fb3d4d3b4f24d3
6
+ metadata.gz: 6a7c8b6ada97f83799356f9b27665eca268a5a8dfa94f8c23d5e22d4cef8d8ada6e6ab969778fbb738887ed281cc9a70b1e845e142da274ad7f8a1ace7424a36
7
+ data.tar.gz: da461494650bacf1d94fcf850da21437ab00161fb0b57b5ed30f1c0cbd15d73387612e639f65f0dfa66ec663af8526b2f02a53ca418ddfa192be3a7d7927d91f
@@ -19,7 +19,7 @@ require 'openc3'
19
19
 
20
20
  module OpenC3
21
21
  MAX_PWR_WATT_SECONDS = 100000
22
- INIT_PWR_WATT_SECONDS = 25000
22
+ INIT_PWR_WATT_SECONDS = 60000
23
23
  HYSTERESIS = 2.0
24
24
 
25
25
  # Simulated satellite for the training. Populates several packets and cycles
@@ -29,13 +29,13 @@ end
29
29
 
30
30
  class ModeGroup < OpenC3::Group
31
31
  def script_safe
32
- FakeSat.safe
32
+ FakeSat.new.safe
33
33
  end
34
34
  def script_checkout
35
- FakeSat.checkout
35
+ FakeSat.new.checkout
36
36
  end
37
37
  def script_operate
38
- FakeSat.operate
38
+ FakeSat.new.operate
39
39
  end
40
40
  end
41
41
 
@@ -1,8 +1,19 @@
1
+ set_line_delay(1)
2
+ screen_def = '
3
+ SCREEN AUTO AUTO 0.1 FIXED
4
+ VERTICAL
5
+ VERTICALBOX
6
+ LABELVALUE FAKESAT HEALTH_STATUS MODE
7
+ END
8
+ END
9
+ '
10
+ # Here we pass in the screen definition as a string
11
+ local_screen("TESTING", screen_def)
12
+ prompt("Watch the screen for mode changes ...")
13
+
1
14
  cmd("FAKESAT SET_MODE with MODE SAFE")
2
15
  wait_check("FAKESAT HEALTH_STATUS MODE == 'SAFE'", 5)
3
16
 
4
- prompt("Ensure Packet Viewer is open to INST HEALTH_STATUS and watch MODE")
5
-
6
17
  # Call set_tlm twice to ensure it gets processed as real tlm flows
7
18
  set_tlm("FAKESAT HEALTH_STATUS MODE = 'OPERATE'")
8
19
  wait 0.2
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openc3-cosmos-fakesat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.6
4
+ version: 1.0.8
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: 2023-01-25 00:00:00.000000000 Z
12
+ date: 2024-01-19 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: " cosmos-fakesat plugin facilitating COSMOS user training\n"
15
15
  email: