automatically pack time tagged commands
to disable HK generation
This commit is contained in:
parent
2da9f13bd7
commit
e383263d2f
2
deps/tmtccmd
vendored
2
deps/tmtccmd
vendored
@ -1 +1 @@
|
||||
Subproject commit 4a54bffa6b54447a426e88d11dcfe1c3cdcccc10
|
||||
Subproject commit 92e9b3d05c01c836eadbacd729e375f42d336f95
|
@ -41,6 +41,7 @@ from pus_tc.devs.reaction_wheels import pack_rw_ass_cmds, pack_set_speed_command
|
||||
|
||||
|
||||
class OpCodes:
|
||||
"""FT: Functional Test"""
|
||||
TV_SETUP_TCS_FT_ON = ["s", "tcs-ft-on"]
|
||||
RESET_SCHED = ["reset-sched", "rs"]
|
||||
HEATER = ["heater"]
|
||||
@ -709,6 +710,10 @@ def enable_listen_to_hk_for_x_seconds(
|
||||
)
|
||||
for cmd in cmd_tuple:
|
||||
q.add_pus_tc(cmd)
|
||||
generate_time_tagged_cmd(
|
||||
struct.pack("!I", int(round(time.time() + interval_seconds))),
|
||||
gen_disable_listen_to_hk_for_x_seconds(q, diag, device, sid)
|
||||
)
|
||||
|
||||
|
||||
def gen_disable_listen_to_hk_for_x_seconds(
|
||||
|
Loading…
x
Reference in New Issue
Block a user