Sha256: 6af40b3b6e2408a30a7aa06a6c77f532d1f128a7da4815bf0b9f97ddbef8cbfd

Contents?: true

Size: 465 Bytes

Versions: 52

Compression:

Stored size: 465 Bytes

Contents

load_utility '<%= target_name %>/procedures/utilities/clear.rb'

def collect(type, duration, call_clear = false)
  # Get the current collects telemetry point
  collects = tlm('<%= target_name %> HEALTH_STATUS COLLECTS')

  # Command the collect
  cmd("<%= target_name %> COLLECT with TYPE #{type}, DURATION #{duration}")

  # Wait for telemetry to update
  wait_check("<%= target_name %> HEALTH_STATUS COLLECTS == #{collects + 1}", 10)

  clear() if call_clear
end

Version data entries

52 entries across 52 versions & 3 rubygems

Version Path
openc3-cosmos-demo-5.20.0 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.19.0 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.18.0 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.17.1 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.17.0 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.16.0 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.15.2 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.15.1 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.15.0 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.14.2 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.14.1 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.14.0 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.13.0 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.12.0 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.11.3 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.11.2 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.11.1 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.11.0 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.10.1 targets/INST/procedures/utilities/collect.rb
openc3-cosmos-demo-5.10.0 targets/INST/procedures/utilities/collect.rb