update tmtc
Some checks failed
fsfw/fsfw example hosted/pipeline/head There was a failure building this commit
Some checks failed
fsfw/fsfw example hosted/pipeline/head There was a failure building this commit
This commit is contained in:
parent
5700afa399
commit
3a72fad821
2
fsfw
2
fsfw
@ -1 +1 @@
|
|||||||
Subproject commit dac700b80a98d9bfb5a9153c47589ce72c9381fc
|
Subproject commit 8e2597f609f54d7b4fe58183a3ff955cc5930cc7
|
@ -1 +1 @@
|
|||||||
Subproject commit 756b300c310a296c17d228036c66665f83f33343
|
Subproject commit 7d197dbe4be46b63377936610ea0d01572c0a930
|
11
tmtc/config/hook.py
Normal file
11
tmtc/config/hook.py
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
from common_tmtc.config.hook_implementation import CommonFsfwHookBase
|
||||||
|
from tmtccmd.tc.definitions import TcQueueT
|
||||||
|
|
||||||
|
|
||||||
|
class FsfwHookBase(CommonFsfwHookBase):
|
||||||
|
def pack_service_queue(self, service: int, op_code: str, service_queue: TcQueueT):
|
||||||
|
from common_tmtc.pus_tc.tc_packing import common_service_queue_user
|
||||||
|
|
||||||
|
common_service_queue_user(
|
||||||
|
service=service, op_code=op_code, tc_queue=service_queue
|
||||||
|
)
|
@ -7,10 +7,12 @@ from common_tmtc.tmtcc import (
|
|||||||
add_default_tmtccmd_args,
|
add_default_tmtccmd_args,
|
||||||
parse_default_input_arguments,
|
parse_default_input_arguments,
|
||||||
)
|
)
|
||||||
|
from config.hook import FsfwHookBase
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
hook_obj = tmtcc_pre_args()
|
tmtcc_pre_args()
|
||||||
|
hook_obj = FsfwHookBase(json_cfg_path="tmtc_conf.json")
|
||||||
arg_parser = create_default_args_parser()
|
arg_parser = create_default_args_parser()
|
||||||
add_default_tmtccmd_args(arg_parser)
|
add_default_tmtccmd_args(arg_parser)
|
||||||
args = parse_default_input_arguments(arg_parser, hook_obj)
|
args = parse_default_input_arguments(arg_parser, hook_obj)
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit 74cb9e7f26c26f09028ae6fe0b61055ae26b8088
|
Subproject commit aff56a02bd5dead2b6585ae50fa76297883a8130
|
Loading…
x
Reference in New Issue
Block a user