Commit e8e3dc36 authored by Robin Mueller's avatar Robin Mueller
Browse files

renamed tmtc_core to tmtccmd

parent 483cec7f
......@@ -37,7 +37,7 @@ Translated from ATMEL C library.
"""
from enum import Enum
from tmtc_core.utility.tmtcc_logger import get_logger
from tmtccmd.utility.tmtcc_logger import get_logger
LOGGER = get_logger()
......
......@@ -4,7 +4,7 @@ Argument parser module.
"""
import argparse
import sys
from tmtc_core.utility.tmtcc_logger import get_logger
from tmtccmd.utility.tmtcc_logger import get_logger
LOGGER = get_logger()
......
import signal
from tmtc_core.com_if.tmtcc_com_interface_base import CommunicationInterface
from tmtc_core.utility.tmtcc_logger import get_logger
from tmtccmd.com_if.tmtcc_com_interface_base import CommunicationInterface
from tmtccmd.utility.tmtcc_logger import get_logger
LOGGER = get_logger()
......
......@@ -12,12 +12,12 @@ import os
import enum
from tmtc_core.pus_tm.tmtcc_pus_service_8 import Service8TM
from tmtc_core.pus_tm.tmtcc_pus_tm_base import PusTelemetry
from tmtc_core.pus_tm.tmtcc_pus_tm_factory import PusTmQueueT
from tmtc_core.pus_tm.tmtcc_tm_service3_base import Service3Base
from tmtc_core.pus_tc.tmtcc_pus_tc_base import PusTcInfoT, TcDictionaryKeys
from tmtc_core.utility.tmtcc_logger import get_logger
from tmtccmd.pus_tm.tmtcc_pus_service_8 import Service8TM
from tmtccmd.pus_tm.tmtcc_pus_tm_base import PusTelemetry
from tmtccmd.pus_tm.tmtcc_pus_tm_factory import PusTmQueueT
from tmtccmd.pus_tm.tmtcc_tm_service3_base import Service3Base
from tmtccmd.pus_tc.tmtcc_pus_tc_base import PusTcInfoT, TcDictionaryKeys
from tmtccmd.utility.tmtcc_logger import get_logger
LOGGER = get_logger()
......@@ -89,8 +89,8 @@ class TmTcPrinter:
from typing import cast
self.__handle_hk_definition_print(cast(Service3Base, packet))
from tmtc_core.core.globals_manager import get_global
from tmtc_core.core.definitions import CoreGlobalIds
from tmtccmd.core.globals_manager import get_global
from tmtccmd.core.definitions import CoreGlobalIds
if get_global(CoreGlobalIds.PRINT_RAW_TM):
self.__print_buffer = "TM Data:" + "\n" + self.return_data_string(packet.get_tm_data())
LOGGER.info(self.__print_buffer)
......@@ -150,8 +150,8 @@ class TmTcPrinter:
:param tm_packet:
:return:
"""
from tmtc_core.core.globals_manager import get_global
from tmtc_core.core.definitions import CoreGlobalIds
from tmtccmd.core.globals_manager import get_global
from tmtccmd.core.definitions import CoreGlobalIds
print_hk = get_global(CoreGlobalIds.PRINT_HK)
if print_hk:
self.__print_buffer = f"HK Data from Object ID {tm_packet.object_id:#010x} and " \
......@@ -164,8 +164,8 @@ class TmTcPrinter:
:param tm_packet:
:return:
"""
from tmtc_core.core.globals_manager import get_global
from tmtc_core.core.definitions import CoreGlobalIds
from tmtccmd.core.globals_manager import get_global
from tmtccmd.core.definitions import CoreGlobalIds
print_hk = get_global(CoreGlobalIds.PRINT_HK)
if print_hk:
self.__print_buffer = f"HK Definition from Object ID {tm_packet.object_id:#010x} " \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment