tmtcgui -m7 is kinda working like I would expect it to
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
from tmtccmd.tc.definitions import TcQueueT
|
||||
|
||||
from tmtccmd.config import QueueCommands
|
||||
|
||||
from .common import command_mode
|
||||
import config.object_ids as obj_ids
|
||||
@ -33,6 +33,16 @@ def pack_controller_commands(tc_queue: TcQueueT, op_code: str):
|
||||
info=op_code + " to " + str(mode) + "," + str(submode),
|
||||
)
|
||||
|
||||
tc_queue.appendleft((QueueCommands.WAIT, 20))
|
||||
|
||||
command_mode(
|
||||
object_id=get_object_from_op_code(op_code),
|
||||
mode=0,
|
||||
submode=0,
|
||||
tc_queue=tc_queue,
|
||||
info=op_code + " to 0,0",
|
||||
)
|
||||
|
||||
|
||||
def get_object_from_op_code(op_code: str):
|
||||
try:
|
||||
|
Reference in New Issue
Block a user