gps non diag hk
This commit is contained in:
parent
ce910ba63c
commit
bfc9b17f10
@ -37,12 +37,14 @@ class OpCodes:
|
||||
ON = ["0", "on"]
|
||||
OFF = ["1", "off"]
|
||||
NORMAL = ["2", "normal"]
|
||||
CONFIG_CMD = ["3", "Write config"]
|
||||
|
||||
|
||||
class Info:
|
||||
ON = "Switch handler on"
|
||||
OFF = "Switch handler off"
|
||||
NORMAL = "Switch handler normal"
|
||||
WIRTE_CONFIG = "Write config"
|
||||
|
||||
|
||||
def specify_rtd_cmds(cmd_dict: ServiceOpCodeDictT):
|
||||
@ -90,6 +92,10 @@ def pack_rtd_commands(op_code: str, object_id: Optional[ObjectId], tc_queue: TcQ
|
||||
service=200, subservice=Subservices.TC_MODE_COMMAND, app_data=app_data
|
||||
)
|
||||
tc_queue.appendleft(cmd.pack_command_tuple())
|
||||
if op_code in OpCodes.CONFIG_CMD:
|
||||
command = object_id + CommandIds.PRINT_CLCW
|
||||
command = PusTelecommand(service=8, subservice=128, ssc=30, app_data=command)
|
||||
tc_queue.appendleft(command.pack_command_tuple())
|
||||
|
||||
|
||||
def prompt_rtd_idx():
|
||||
|
@ -332,7 +332,7 @@ def pack_proc_commands(tc_queue: TcQueueT, op_code: str):
|
||||
False,
|
||||
True,
|
||||
False,
|
||||
True
|
||||
False
|
||||
]
|
||||
pack_acs_command(tc_queue=tc_queue, op_code="acs-a")
|
||||
|
||||
@ -358,7 +358,7 @@ def pack_proc_commands(tc_queue: TcQueueT, op_code: str):
|
||||
False,
|
||||
True,
|
||||
False,
|
||||
True
|
||||
False
|
||||
]
|
||||
|
||||
for b_side_dev in b_side_pairs:
|
||||
@ -393,7 +393,7 @@ def pack_proc_commands(tc_queue: TcQueueT, op_code: str):
|
||||
False,
|
||||
True,
|
||||
False,
|
||||
True,
|
||||
False,
|
||||
]
|
||||
pack_generic_hk_listening_cmds(
|
||||
tc_queue=tc_queue,
|
||||
@ -461,12 +461,12 @@ def pack_proc_commands(tc_queue: TcQueueT, op_code: str):
|
||||
False,
|
||||
True,
|
||||
False,
|
||||
True,
|
||||
False,
|
||||
False,
|
||||
False,
|
||||
True,
|
||||
False,
|
||||
True,
|
||||
False,
|
||||
True,
|
||||
True,
|
||||
True,
|
||||
|
@ -72,4 +72,4 @@ def handle_l3g_gyro_hk(
|
||||
f"Angular Velocities (degrees per second): X {angVelocX} | "
|
||||
f"Y {angVelocY} | Z {angVelocZ}"
|
||||
)
|
||||
pw.dlog(f"Temperature {temp} C")
|
||||
pw.dlog(f"Temperature {temp} °C")
|
||||
|
2
tmtccmd
2
tmtccmd
@ -1 +1 @@
|
||||
Subproject commit 96643d274d018a7009f6831899c3ead6484d746f
|
||||
Subproject commit 476d48e8d399055d0b2a257c1fcebedc4f105e17
|
Loading…
Reference in New Issue
Block a user