Sha256: c39ccebf973b831e7ab359bce1628b5d9f28bdccfb9e1794b5ac5612b0699120

Contents?: true

Size: 775 Bytes

Versions: 6

Compression:

Stored size: 775 Bytes

Contents

import os
from openc3.script import *

# Display the environment variables
print(os.environ.items())

collect_cnt = tlm("<%= target_name %> HEALTH_STATUS COLLECTS")
cmd("<%= target_name %> COLLECT with DURATION 11, TYPE NORMAL")
cmd_no_range_check("<%= target_name %> COLLECT with DURATION 11, TYPE NORMAL")
cmd_no_hazardous_check("<%= target_name %> COLLECT with DURATION 11, TYPE NORMAL")
cmd_no_checks("<%= target_name %> COLLECT with DURATION 11, TYPE NORMAL")
wait_check(f"<%= target_name %> HEALTH_STATUS COLLECTS == {collect_cnt + 2}", 10)
cmd("<%= target_name %> CLEAR")
cmd_no_range_check("<%= target_name %> CLEAR")
cmd_no_hazardous_check("<%= target_name %> CLEAR")
cmd_no_checks("<%= target_name %> CLEAR")
print(tlm("<%= target_name %> HEALTH_STATUS COLLECTS"))

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
openc3-cosmos-demo-5.11.3 targets/INST/procedures_py/checks.py
openc3-cosmos-demo-5.11.2 targets/INST/procedures_py/checks.py
openc3-cosmos-demo-5.11.1 targets/INST/procedures_py/checks.py
openc3-cosmos-demo-5.11.0 targets/INST/procedures_py/checks.py
openc3-cosmos-demo-5.10.1 targets/INST/procedures_py/checks.py
openc3-cosmos-demo-5.10.0 targets/INST/procedures_py/checks.py