eive-tmtc/config/definitions.py

64 lines
1.6 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
2022-09-16 17:28:19 +02:00
from spacepackets.util import UnsignedByteField
2021-03-19 17:39:52 +01:00
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,)
2022-09-16 17:28:19 +02:00
CFDP_APID = 0x66
CFDP_LOCAL_ENTITY_ID = UnsignedByteField(byte_len=2, val=1)
CFDP_REMOTE_ENTITY_ID = UnsignedByteField(byte_len=2, val=CFDP_APID)
2021-06-21 17:30:37 +02:00
2022-08-18 11:09:35 +02:00
class CustomServiceList(str, enum.Enum):
value: str
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"
2022-08-11 18:10:15 +02:00
POWER = "power"
2021-03-19 17:39:52 +01:00
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"
2022-05-24 01:34:33 +02:00
GPS_CTRL = "gnss-ctrl"
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"
ACS_CTRL = "acs-ctrl"
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-08-12 08:45:51 +02:00
TCS = "tcs"
2022-03-22 19:29:55 +01:00
TCS_ASS = "tcs-ass"
2022-04-09 18:44:04 +02:00
TIME = "time"
2022-05-18 18:39:18 +02:00
PROCEDURE = "proc"
2022-05-23 17:50:08 +02:00
RTD = "rtd"
2022-05-18 20:00:59 +02:00
TVTTESTPROCEDURE = "tvtestproc"
CONTROLLERS = "controllers"
2022-06-21 15:21:55 +02:00
SCEX = "scex"