can request mgm hk now
This commit is contained in:
parent
9d4eab39e7
commit
9de4cabcd9
@ -129,7 +129,7 @@ RW_ASSEMBLY = bytes([0x73, 0x00, 0x00, 0x04])
|
||||
|
||||
# Controllers
|
||||
TCS_CONTROLLER = bytes([0x43, 0x40, 0x00, 0x01])
|
||||
ACS_CONTROLLER = bytes([0x43, 0x40, 0x00, 0x02])
|
||||
ACS_CONTROLLER = bytes([0x43, 0x00, 0x00, 0x02])
|
||||
CORE_CONTROLLER_ID = bytes([0x43, 0x00, 0x00, 0x03])
|
||||
|
||||
|
||||
|
@ -2,12 +2,15 @@ import enum
|
||||
|
||||
from config.definitions import CustomServiceList
|
||||
from config.object_ids import ACS_CONTROLLER
|
||||
from tmtccmd import DefaultProcedureInfo
|
||||
from tmtccmd import DefaultProcedureInfo, get_console_logger
|
||||
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
|
||||
|
||||
|
||||
LOGGER = get_console_logger()
|
||||
|
||||
|
||||
class SetIds(enum.IntEnum):
|
||||
MGM_SET = 0
|
||||
|
||||
@ -47,3 +50,5 @@ def pack_acs_ctrl_command(
|
||||
sid = make_sid(ACS_CONTROLLER, SetIds.MGM_SET)
|
||||
q.add_log_cmd("Requesting one MGM HK packet")
|
||||
q.add_pus_tc(generate_one_hk_command(sid))
|
||||
else:
|
||||
LOGGER.info(f"Unknown op code {op_code}")
|
||||
|
Loading…
Reference in New Issue
Block a user