eive-tmtc/config/custom_hooks.py

16 lines
478 B
Python
Raw Normal View History

2020-12-17 17:50:00 +01:00
"""
@brief This file exposes hook functions to the user.
@details Template configuration file. Copy this folder to the TMTC commander root and adapt
it to your needs.
"""
2021-10-01 10:55:56 +02:00
from spacepackets.ecss.tc import PusTelecommand
2020-12-17 17:50:00 +01:00
def command_preparation_hook() -> PusTelecommand:
"""
Can be used to pack user-defined commands by generating and returning a PusTelecommand
class instance
"""
return PusTelecommand(service=17, subservice=1, ssc=20)