openc3-cosmos-fakesat 1.0.2 → 1.0.4

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: dd88a75c9aa156cb6e05a202dfd19702011ce0560a0e3a3b735f139e59201640
4
- data.tar.gz: '02296f9cca7eac3096a77ead5686c05c020ee9f501bd5cf1f39ab2ce933fdf4e'
3
+ metadata.gz: 1f938742e67ba7f611f52a9bcc2e24e50a0e7261cb1e1d2eaab90c38e7fc40b9
4
+ data.tar.gz: 03262b85722bcfd4f32617313e3ece64962a8e4ff40615a5da6b07610081bff9
5
5
  SHA512:
6
- metadata.gz: 9102e103026a35fa823debe388a1c388278d2ebd7106d17ab549c465458c875eac061d7195ca0b4130a46e92fb46c05dc5db3222d05daf0244e081e030d8a9a7
7
- data.tar.gz: 8802de3fd28eb3ae8f3aa6094831b3954e484ee6b508112aa6dc48e8316939c5f360b9e64811b1e38fa8166912db9281d9c4c5b5477638d4acde7882602340da
6
+ metadata.gz: bd7ef9d409e51cccdb0803b66b08e93598c2492e8c44082670d3b13ec779f3839e2c44ad8cd8ffa320e22f9da602b47f135241e7562db2799d2cb4a632d7b6ae
7
+ data.tar.gz: 896eea191c1cac0f72f247f2b542e5ff1c3d32d9ad1563ae3fa80344078887982b1b545f3028fb5cb76329ba910bc426801be35b0b6eac85756d5c47c8ed0d33
@@ -6,4 +6,3 @@
6
6
  PARAMETER CCSDSSEQCNT 18 14 UINT 0 16383 0 "CCSDS primary header sequence count"
7
7
  OVERFLOW TRUNCATE
8
8
  PARAMETER CCSDSLENGTH 32 16 UINT MIN MAX 12 "CCSDS primary header packet length"
9
- ID_PARAMETER PKTID 48 16 UINT MIN MAX <%= id %> "Packet id"
@@ -15,5 +15,4 @@
15
15
  OVERFLOW TRUNCATE
16
16
  APPEND_ITEM CCSDSLENGTH 16 UINT "CCSDS packet data length"
17
17
  APPEND_ITEM TIMESEC 32 UINT "Seconds since epoch (January 1st, 1970, midnight)"
18
- APPEND_ITEM TIMEUS 32 UINT "Microseconds of second"
19
- APPEND_ID_ITEM PKTID 16 UINT 1 "Packet id (The combination of CCSDS_APID and PACKET_ID identify the packet)"
18
+ APPEND_ITEM TIMEUS 32 UINT "Microseconds of second"
@@ -1,5 +1,9 @@
1
- COMMAND <%= target_name %> COLLECT BIG_ENDIAN "Starts a collect on the <%= target_name %> target"
1
+ COMMAND <%= target_name %> NOOP BIG_ENDIAN "NOOP"
2
2
  <%= render "_ccsds_cmd.txt", locals: {id: 1} %>
3
+ APPEND_PARAMETER IGNORE 8 UINT MIN MAX 0 "Ignored item"
4
+
5
+ COMMAND <%= target_name %> COLLECT BIG_ENDIAN "Starts a collect on the <%= target_name %> target"
6
+ <%= render "_ccsds_cmd.txt", locals: {id: 2} %>
3
7
  PARAMETER TYPE 64 16 UINT MIN MAX 0 "Collect type"
4
8
  REQUIRED
5
9
  STATE NORMAL 0
@@ -12,10 +16,12 @@ COMMAND <%= target_name %> COLLECT BIG_ENDIAN "Starts a collect on the <%= targe
12
16
 
13
17
  COMMAND <%= target_name %> ABORT BIG_ENDIAN "Aborts a collect on the <%= target_name %> instrument"
14
18
  <%= render "_ccsds_cmd.txt", locals: {id: 2} %>
19
+ APPEND_PARAMETER IGNORE 8 UINT MIN MAX 0 "Ignored item"
15
20
 
16
21
  COMMAND <%= target_name %> CLEAR BIG_ENDIAN "Clears counters on the <%= target_name %> instrument"
17
22
  HAZARDOUS "Clearing counters may lose valuable information."
18
23
  <%= render "_ccsds_cmd.txt", locals: {id: 3} %>
24
+ APPEND_PARAMETER IGNORE 8 UINT MIN MAX 0 "Ignored item"
19
25
 
20
26
  COMMAND <%= target_name %> SET_MODE BIG_ENDIAN "Change spacecraft mode"
21
27
  <%= render "_ccsds_cmd.txt", locals: {id: 4} %>
@@ -197,6 +197,9 @@ module OpenC3
197
197
  name = packet.packet_name.upcase
198
198
 
199
199
  case name
200
+ when 'NOOP'
201
+ accept_cmd()
202
+
200
203
  when 'COLLECT'
201
204
  if @mode == 'OPERATE'
202
205
  @collects += 1
@@ -255,7 +258,7 @@ module OpenC3
255
258
  reject_cmd("Invalid Solar Array Number: #{num}")
256
259
  end
257
260
 
258
- when 'SLRPNLRESET'
261
+ when 'SLRPNLSTOW'
259
262
  num = packet.read('NUM')
260
263
  case num
261
264
  when 1
@@ -376,10 +379,6 @@ module OpenC3
376
379
  else
377
380
  reject_cmd("Invalid ADCS Control: #{state}")
378
381
  end
379
-
380
- when 'IMAGER_STATE'
381
-
382
-
383
382
  end
384
383
  end
385
384
 
@@ -501,8 +500,8 @@ module OpenC3
501
500
  if @heater1_state == 'ON'
502
501
  @heater1_pwr = 300
503
502
  @temp1 += 0.5
504
- if @temp1 > 100.0
505
- @temp1 = 100.0
503
+ if @temp1 > 50.0
504
+ @temp1 = 50.0
506
505
  end
507
506
  else
508
507
  @heater1_pwr = 0
@@ -8,7 +8,7 @@ IGNORE_PARAMETER CCSDSAPID
8
8
  IGNORE_PARAMETER CCSDSSEQFLAGS
9
9
  IGNORE_PARAMETER CCSDSSEQCNT
10
10
  IGNORE_PARAMETER CCSDSLENGTH
11
- IGNORE_PARAMETER PKTID
11
+ IGNORE_PARAMETER IGNORE
12
12
 
13
13
  # Ignored Items
14
14
  IGNORE_ITEM CCSDSVER
@@ -23,7 +23,6 @@ IGNORE_ITEM PACKET_TIMESECONDS
23
23
  IGNORE_ITEM RECEIVED_TIMESECONDS
24
24
  IGNORE_ITEM TIMESEC
25
25
  IGNORE_ITEM TIMEUS
26
- IGNORE_ITEM PKTID
27
26
 
28
27
  # Explicitly define command and telemetry files
29
28
  # If not given then all the files in cmd/tlm will be processed in
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: openc3-cosmos-fakesat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ryan Melton
8
8
  - Jason Thomas
9
- autorequire:
9
+ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-01-09 00:00:00.000000000 Z
12
+ date: 2023-01-18 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description: " cosmos-fakesat plugin facilitating COSMOS user training\n"
15
15
  email:
@@ -49,7 +49,7 @@ licenses:
49
49
  - AGPL-3.0-only
50
50
  - Nonstandard
51
51
  metadata: {}
52
- post_install_message:
52
+ post_install_message:
53
53
  rdoc_options: []
54
54
  require_paths:
55
55
  - lib
@@ -64,8 +64,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  - !ruby/object:Gem::Version
65
65
  version: '0'
66
66
  requirements: []
67
- rubygems_version: 3.3.7
68
- signing_key:
67
+ rubygems_version: 3.3.26
68
+ signing_key:
69
69
  specification_version: 4
70
70
  summary: OpenC3 cosmos-fakesat plugin
71
71
  test_files: []