some include fixes

This commit is contained in:
2022-05-10 18:00:56 +02:00
parent 9d105ee97f
commit 8891908afa
4 changed files with 20 additions and 17 deletions

View File

@ -18,25 +18,12 @@ from pus_tc.devs.imtq import ImtqSetIds
from tmtccmd.utility.obj_id import ObjectId, ObjectIdDictT
import config.object_ids as obj_ids
from pus_tc.devs.reaction_wheels import handle_rw_hk_data
from pus_tm.devs.reaction_wheels import handle_rw_hk_data
from pus_tm.defs import PrintWrapper, FsfwTmTcPrinter
LOGGER = get_console_logger()
class PrintWrapper:
def __init__(self, printer: FsfwTmTcPrinter):
self.printer = printer
def dlog(self, string: str):
print(string)
self.printer.file_logger.info(string)
def log_to_both(printer: FsfwTmTcPrinter, string: str):
print(string)
printer.file_logger.info(string)
def handle_hk_packet(
raw_tm: bytes,
obj_id_dict: ObjectIdDictT,