gps bug fix
This commit is contained in:
parent
5daf76d081
commit
363c93a7d3
@ -12,7 +12,6 @@ from tmtccmd.tc.pus_8_funccmd import generate_action_command
|
||||
LOGGER = get_console_logger()
|
||||
|
||||
|
||||
|
||||
class OpCodes:
|
||||
REQ_OS_HK = ["0", "hk-os"]
|
||||
RESET_GNSS = ["5", "reset"]
|
||||
@ -43,10 +42,6 @@ def add_gps_cmds(cmd_dict: ServiceOpCodeDictT):
|
||||
)
|
||||
|
||||
|
||||
class SetIds:
|
||||
HK = 0
|
||||
|
||||
|
||||
def pack_gps_command(object_id: bytes, tc_queue: TcQueueT, op_code: str):
|
||||
if op_code in OpCodes.RESET_GNSS:
|
||||
# TODO: This needs to be re-implemented
|
||||
|
@ -326,7 +326,7 @@ def pack_proc_commands(tc_queue: TcQueueT, op_code: str):
|
||||
set_id = b_side_dev[1]
|
||||
sid_list.append(make_sid(oid, set_id))
|
||||
# GNSS1
|
||||
sid_list.append(make_sid(oids.GPS_HANDLER_1_ID, GpsSetIds.HK))
|
||||
sid_list.append(make_sid(oids.GPS_CONTROLLER, GpsSetIds.HK))
|
||||
pack_generic_hk_listening_cmds(
|
||||
tc_queue=tc_queue,
|
||||
proc_key=key,
|
||||
|
Loading…
Reference in New Issue
Block a user