smaller changes

This commit is contained in:
Robin Müller 2021-05-17 18:01:55 +02:00
parent eb9e93fbee
commit 877b9bb5c1
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
5 changed files with 7 additions and 9 deletions

View File

@ -11,10 +11,9 @@ import argparse
# All globals can be added here and will be part of a globals dictionary.
from config.definitions import CustomServiceList
from config.custom_mode_op import CustomModeList
from tmtccmd.config.definitions import CoreComInterfaces, CoreServiceList, CoreGlobalIds
from tmtccmd.config.definitions import CoreComInterfaces
from tmtccmd.config.globals import set_default_globals_pre_args_parsing, \
set_default_globals_post_args_parsing
from tmtccmd.core.globals_manager import update_global
from tmtccmd.utility.logger import get_logger
LOGGER = get_logger()

View File

@ -1,7 +1,7 @@
import argparse
from typing import Union, Dict, Tuple
from tmtccmd.config.definitions import ServiceOpCodeDictT, CoreServiceList
from tmtccmd.config.definitions import ServiceOpCodeDictT
from tmtccmd.pus_tm.service_3_base import Service3Base
from tmtccmd.ecss.tm import PusTelemetry
from tmtccmd.pus_tc.definitions import TcQueueT

View File

@ -3,8 +3,6 @@
@details Template configuration file. Copy this folder to the TMTC commander root and adapt
it to your needs.
"""
import enum
from typing import Dict
PUS_SERVICE_17_ID = bytes([0x53, 0x00, 0x00, 0x17])

@ -1 +1 @@
Subproject commit 8ca16e305d18eb8df2165680676992261af99c1b
Subproject commit 3f39a1ffa17e8c74cadc789b3f4714c4bbd5f75f

View File

@ -5,6 +5,7 @@ def parse_input_arguments_user(print_known_args: bool = False, print_unknown_arg
This function by default will build the default argument parser. A custom CLI parser can be
built in this function if required.
"""
from tmtccmd.defaults.args_parser import parse_default_input_arguments
parse_default_input_arguments(print_known_args=print_known_args,
print_unknown_args=print_unknown_args)
from tmtccmd.config.args import parse_default_input_arguments
parse_default_input_arguments(
print_known_args=print_known_args, print_unknown_args=print_unknown_args
)