This commit is contained in:
5 files changed
+17
-4
No files matched your search
+1
-1
Submodule fsfw updated: dac700b80a...8e2597f609.
+1
-1
Submodule tmtc/common_tmtc updated: 756b300c31...7d197dbe4b.
@@ -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
|
||||
)
|
||||
+3
-1
@@ -7,10 +7,12 @@ from common_tmtc.tmtcc import (
|
||||
add_default_tmtccmd_args,
|
||||
parse_default_input_arguments,
|
||||
)
|
||||
from config.hook import FsfwHookBase
|
||||
|
||||
|
||||
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()
|
||||
add_default_tmtccmd_args(arg_parser)
|
||||
args = parse_default_input_arguments(arg_parser, hook_obj)
|
||||
|
||||
+1
-1
Submodule tmtc/tmtccmd updated: 74cb9e7f26...aff56a02bd.
Reference in new issue
Block a user