openc3-cosmos-fakesat 1.0.5 → 1.0.7

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: edf9d18fef465eeb3a361be176d323f4691306c07b1eac20b715b81a93f2a4c9
4
- data.tar.gz: 6eb6612a570a07a664cde168039d796cddb52d0c2d74285c41997e35420bc014
3
+ metadata.gz: 27261d751ef78ec3bbf0059e5efbc69e8bc063786145a06e26cd6803f1ae8d3e
4
+ data.tar.gz: 83edb32b01cb55f843c8c7903816848500a2f656f348b5b6489e0a486d7df8f3
5
5
  SHA512:
6
- metadata.gz: 7886e6fedaf6e649cf6e67193676ba1e1dae73d2e7cfd556d6ae84c3939efe3380f1620d0396b39ee61eed1efc70f84fe8987ab5b552ba5c285d0a46c2bf140d
7
- data.tar.gz: ba32f846ab61946cece53323f632a84c116c4de459b907ccb970a3d6ac840951afe5e19ab614ebce2e34680611eb635a49e17acf70db86189dcb4bbb61933e1a
6
+ metadata.gz: 6edf8d4ba098901e825896c3535642ea077040f10296aaf71e0f5f237ff4cda785241fa97814c99b5e083a1a90451ee3d8f1662792ff41457bc120aef99e8685
7
+ data.tar.gz: c7c02d22693e6a09ea690497eef60152402b0664602c50d4d728d67a336b56980636b1a490339fec6e76f3a854a96443aa123c45509557846710e742f168a3e4
@@ -5,4 +5,4 @@
5
5
  PARAMETER CCSDSSEQFLAGS 16 2 UINT 3 3 3 "CCSDS primary header sequence flags"
6
6
  PARAMETER CCSDSSEQCNT 18 14 UINT 0 16383 0 "CCSDS primary header sequence count"
7
7
  OVERFLOW TRUNCATE
8
- PARAMETER CCSDSLENGTH 32 16 UINT MIN MAX 12 "CCSDS primary header packet length"
8
+ PARAMETER CCSDSLENGTH 32 16 UINT MIN MAX 0 "CCSDS primary header packet length"
@@ -4,14 +4,14 @@ COMMAND <%= target_name %> NOOP BIG_ENDIAN "NOOP"
4
4
 
5
5
  COMMAND <%= target_name %> COLLECT BIG_ENDIAN "Starts a collect on the <%= target_name %> target"
6
6
  <%= render "_ccsds_cmd.txt", locals: {apid: 2} %>
7
- PARAMETER TYPE 64 16 UINT MIN MAX 0 "Collect type"
7
+ APPEND_PARAMETER TYPE 16 UINT MIN MAX 0 "Collect type"
8
8
  REQUIRED
9
9
  STATE NORMAL 0
10
10
  STATE SPECIAL 1 HAZARDOUS
11
- PARAMETER DURATION 80 32 FLOAT 0.0 10.0 1.0 "Collect duration"
12
- PARAMETER OPCODE 112 8 UINT 0x0 0xFF 0xAB "Collect opcode"
11
+ APPEND_PARAMETER DURATION 32 FLOAT 0.0 10.0 1.0 "Collect duration"
12
+ APPEND_PARAMETER OPCODE 8 UINT 0x0 0xFF 0xAB "Collect opcode"
13
13
  FORMAT_STRING "0x%0X"
14
- PARAMETER TEMP 120 32 FLOAT 0.0 25.0 0.0 "Collect temperature"
14
+ APPEND_PARAMETER TEMP 32 FLOAT 0.0 25.0 0.0 "Collect temperature"
15
15
  UNITS Celsius C
16
16
 
17
17
  COMMAND <%= target_name %> ABORT BIG_ENDIAN "Aborts a collect on the <%= target_name %> instrument"
@@ -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
 
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.5
4
+ version: 1.0.7
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-18 00:00:00.000000000 Z
12
+ date: 2023-04-01 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: " cosmos-fakesat plugin facilitating COSMOS user training\n"
15
15
  email: