eive-tmtc/config/definitions.py

50 lines
1.2 KiB
Python
Raw Normal View History

2021-03-19 17:39:52 +01:00
"""
@brief This file transfers control of the custom definitions like modes to the user.
@details Template configuration file. Copy this folder to the TMTC commander root and adapt
it to your needs.
"""
import enum
2021-06-21 17:30:37 +02:00
PUS_APID = 0x65
2022-05-16 18:35:36 +02:00
SPACE_PACKET_IDS = (0x08 << 8 | PUS_APID,)
2021-06-21 17:30:37 +02:00
2021-03-19 18:01:17 +01:00
class CustomServiceList(enum.Enum):
2022-01-18 14:03:56 +01:00
TEST_DEVICE = "test"
2021-03-19 17:39:52 +01:00
P60DOCK = "p60dock"
PDU1 = "pdu1"
PDU2 = "pdu2"
ACU = "acu"
2021-09-13 18:06:25 +02:00
ACS = "acs"
BPX_BATTERY = "bpx"
2021-03-19 17:39:52 +01:00
TMP1075_1 = "tmp1075_1"
TMP1075_2 = "tmp1075_2"
HEATER = "heater"
2021-03-26 13:56:02 +01:00
IMTQ = "imtq"
2022-03-17 19:42:27 +01:00
PLOC_SUPV = "ploc_supv"
PLOC_MPSOC = "ploc_mpsoc"
2022-01-18 14:03:56 +01:00
PCDU = "pcdu"
2022-02-25 19:25:14 +01:00
PL_PCDU = "plpcdu"
2021-05-17 17:59:24 +02:00
SA_DEPLYOMENT = "sa_depl"
2022-05-05 01:21:57 +02:00
REACTION_WHEEL_1 = "rw-1"
REACTION_WHEEL_2 = "rw-2"
REACTION_WHEEL_3 = "rw-3"
REACTION_WHEEL_4 = "rw-4"
RW_ASSEMBLY = "rw-ass"
RAD_SENSOR = "rad_sensor"
2021-09-08 13:20:22 +02:00
GPS_0 = "gps0"
GPS_1 = "gps1"
2021-08-31 11:17:01 +02:00
PLOC_MEMORY_DUMPER = "ploc_memory_dumper"
2022-01-18 14:03:56 +01:00
CORE = "core"
STAR_TRACKER = "star_tracker"
CCSDS_HANDLER = "ccsds_handler"
PDEC_HANDLER = "pdec_handler"
STR_IMG_HELPER = "str_img_helper"
SYRLINKS = "syrlinks"
2022-03-07 11:07:54 +01:00
ACS_ASS = "acs-ass"
2022-03-22 10:14:22 +01:00
SUS_ASS = "sus-ass"
2022-03-22 19:29:55 +01:00
TCS_ASS = "tcs-ass"
2022-04-09 18:44:04 +02:00
TIME = "time"