v1.11.0 #72
5
pus_tc/devs/rws.py
Normal file
5
pus_tc/devs/rws.py
Normal file
@ -0,0 +1,5 @@
|
||||
from config.object_ids import RW1_ID, RW2_ID, RW3_ID, RW4_ID
|
||||
|
||||
|
||||
def pack_rw_cmds(op_code: str):
|
||||
pass
|
@ -40,6 +40,7 @@ from pus_tc.system.time import pack_set_current_time_ascii_command
|
||||
from pus_tc.system.acs import pack_acs_command, pack_sus_cmds
|
||||
from pus_tc.devs.plpcdu import pack_pl_pcdu_commands
|
||||
from pus_tc.devs.str_img_helper import pack_str_img_helper_command
|
||||
from pus_tc.devs.rws import pack_rw_cmds
|
||||
from pus_tc.system.tcs import pack_tcs_sys_commands
|
||||
from config.definitions import CustomServiceList
|
||||
from config.object_ids import (
|
||||
@ -233,6 +234,13 @@ def pack_service_queue_user(
|
||||
return pack_tcs_sys_commands(tc_queue=service_queue, op_code=op_code)
|
||||
if service == CustomServiceList.TIME.value:
|
||||
return pack_set_current_time_ascii_command(tc_queue=service_queue, ssc=0)
|
||||
if service in [
|
||||
CustomServiceList.REACTION_WHEEL_1,
|
||||
CustomServiceList.REACTION_WHEEL_2,
|
||||
CustomServiceList.REACTION_WHEEL_3,
|
||||
CustomServiceList.REACTION_WHEEL_4
|
||||
]:
|
||||
return pack_rw_cmds(op_code=op_code)
|
||||
LOGGER.warning("Invalid Service !")
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user