some improvements and updates
This commit is contained in:
@ -1,10 +1,16 @@
|
||||
from typing import Union
|
||||
|
||||
from tmtccmd.tc.definitions import TcQueueT, QueueCommands
|
||||
from spacepackets.ecss.tc import PusTelecommand
|
||||
from tmtccmd.tc.pus_200_fsfw_modes import pack_mode_data, Modes, Subservices
|
||||
|
||||
|
||||
def command_mode(
|
||||
object_id: bytes, mode: Modes, submode: int, tc_queue: TcQueueT, info: str
|
||||
object_id: bytes,
|
||||
mode: Union[int, Modes],
|
||||
submode: int,
|
||||
tc_queue: TcQueueT,
|
||||
info: str,
|
||||
):
|
||||
tc_queue.appendleft((QueueCommands.PRINT, info))
|
||||
mode_data = pack_mode_data(
|
||||
|
Reference in New Issue
Block a user