now it works
This commit is contained in:
@ -2,6 +2,7 @@ import enum
|
||||
|
||||
from config.definitions import CustomServiceList
|
||||
from config.object_ids import ACS_CONTROLLER
|
||||
from tmtccmd import DefaultProcedureInfo
|
||||
from tmtccmd.config.tmtc import tmtc_definitions_provider, TmtcDefinitionWrapper, OpCodeEntry
|
||||
from tmtccmd.tc import DefaultPusQueueHelper, service_provider
|
||||
from tmtccmd.tc.pus_3_fsfw_hk import generate_one_hk_command, make_sid
|
||||
@ -37,7 +38,11 @@ def acs_cmd_defs(defs: TmtcDefinitionWrapper):
|
||||
|
||||
|
||||
@service_provider(CustomServiceList.ACS_CTRL.value)
|
||||
def pack_acs_ctrl_command(q: DefaultPusQueueHelper, op_code: str):
|
||||
def pack_acs_ctrl_command(
|
||||
_info: DefaultProcedureInfo,
|
||||
q: DefaultPusQueueHelper,
|
||||
op_code: str
|
||||
):
|
||||
if op_code in OpCodes.REQUEST_MGM_HK:
|
||||
sid = make_sid(ACS_CONTROLLER, SetIds.MGM_SET)
|
||||
q.add_log_cmd("Requesting one MGM HK packet")
|
||||
|
Reference in New Issue
Block a user