added back hook function
This commit is contained in:
@ -51,8 +51,8 @@ class FsfwHookBase(TmTcHookBase):
|
||||
pack_service_queue_user(service=service, op_code=op_code, service_queue=service_queue)
|
||||
|
||||
def tm_user_factory_hook(self, raw_tm_packet: bytearray) -> Optional[PusTelemetry]:
|
||||
from pus_tm.factory_hook import tm_user_factory_hook
|
||||
return tm_user_factory_hook(raw_tm_packet=raw_tm_packet)
|
||||
from pus_tm.factory_hook import tm_user_factory_hook
|
||||
return tm_user_factory_hook(raw_tm_packet=raw_tm_packet)
|
||||
|
||||
def get_object_ids(self) -> Dict[bytes, list]:
|
||||
from config.object_ids import get_object_ids
|
||||
|
2
tmtc/tmtc_client_cli.py
Normal file → Executable file
2
tmtc/tmtc_client_cli.py
Normal file → Executable file
@ -26,6 +26,7 @@ limitations under the License.
|
||||
|
||||
@author R. Mueller
|
||||
"""
|
||||
import sys
|
||||
from config.hook_implementation import FsfwHookBase
|
||||
try:
|
||||
from tmtccmd.runner import run_tmtc_commander, initialize_tmtc_commander
|
||||
@ -34,6 +35,7 @@ except ImportError:
|
||||
initialize_tmtc_commander = None
|
||||
print("Python tmtccmd submodule not installed")
|
||||
print("Install with \"cd tmtccmd && python3 -m pip install -e .\" for interactive installation")
|
||||
sys.exit(0)
|
||||
|
||||
|
||||
def main():
|
||||
|
Submodule tmtc/tmtccmd updated: a259c5b3bc...0d91e26bc5
Reference in New Issue
Block a user