Skip to main content

DroneComponentIdEnum

enum class DroneComponentIdEnum

Description: Drone component ID: 0~99999

enum class DroneComponentIdEnum(var value: Int, var englishName: String, var moduleName: String) {
NONE(0, "None", "Unknown"),

/**
* Upgrade component IDs: 1000 ~ 1019
*/
UPGRADE_NODE1(1000, "UpgradeService_VISION", "Upgrade Service VISION"),
UPGRADE_NODE2(1003, "UpgradeService_SKYLINK", "Upgrade Service SKYLINK"),
// UPGRADE_NODE3(1004,"",""),
// UPGRADE_NODE4(1005,"",""),

/**
* File service IDs: 1240~1249
*/
MICRO_FTP_SKYLINK(1240, "MicroFtp_SKYLINK", "File Service SKYLINK"),
MICRO_FTP_VISION(1241, "MicroFtp_VISION", "File Service VISION"),

/**
* Business main control component IDs: 1020~1029
*/
SERVICE_MAIN_CONTROL(1021, "ServiceMainControl", "Business Main Control Service"),

/**
* Remote control protocol gateway IDs: 1030~1039
*/
PROTOCOL_GATEWAY_RC(1031, "GATEWAY_RC", "Protocol Gateway"),

/**
* System service component IDs:1040~1049
*/
SYSTEM_PACK(1040, "SystemPackage", "System Package Version"),
SYS_MANAGER_LC1881(1041, "SysStaManageService_SKYLINK", "System Resource Management Service SKYLINK"),
SYS_MANAGER_QCOM8475(1042, "SysStaManageService_VISION", "System Resource Management Service VISION"),
COMPONENT_ID_SYS_MANAGER_SKYLINK_RC(1043, "SYS_MANAGER_SKYLINK_RC", "System Resource Management Service RC 1881"),
COMPONENT_ID_SYS_MANAGER_660_RC(1044, "SYS_MANAGER_660_RC", "System Resource Management Service RC 660"),

/**
* AlinkRos component IDs: 1050~1059
*/
ALINK_ROS_VISION(1050, "FcsGateway_VISION", "Flight Control Gateway VISION"),
ALINK_ROS_SKYLINK(1051, "FcsGateway_SKYLINK", "Flight Control Gateway"),

/**
* Mif component IDs: 1060~1069
*/
MIF(1060, "AutonomyMIF", "SLAM"),

/**
* Planner component IDs: 1070~1079
*/
PLANNER(1070, "Planner", "Motion Planning"),

/**
* Soa component IDs: 1080~1089
*/
SOA(1080, "SOACalib", "SOA"),

/**
* Ai component IDs: 1090~1099
*/
AI(1090, "AiService", "AI Service"),

/**
* Mission manager component IDs: 1100~1109
*/
MISSION_MANAGER(1100, "MissionManager", "Flight Mission Management"),

// Target estimation component IDs: 1110~1119
// TARGET_ESTIMATION(1110,"",""),

/**
* Camera component IDs: 1120~1129
*/
CAMERA(1120, "camera", "Camera Service"),

/**
* Radar component IDs: 1280~1299
*/
RADAR(1280, "RadarService", "Radar Gateway"),
RADAR_FRONT(1281, "Radar_Front", "Front Radar"),
RADAR_BACK(1282, "Radar_Back", "Back Radar"),
RADAR_UP(1283, "Radar_Up", "Up Radar"),
RADAR_DOWN(1284, "Radar_Down", "Down Radar"),
RADAR_LEFT(1285, "Radar_Left", "Left Radar"),
RADAR_RIGHT(1286, "Radar_Right", "Right Radar"),


/**
* RemoteID component IDs: 1140~1149
*/
REMOTEL_ID(1140, "RemoteID", "RemoteID"),

/**
* FCS component IDs: 1150~1159
*/
FCS(1150, "FCS", "Flight Control System"),

/**
* Battery component IDs: 1160~1169
*/
BATTERY(1160, "SmartBattery", "Battery"),

/**
* Gimbal component IDs: 1170~1179
*/
GIMBAL(1170, "Gimbal", "Gimbal"),

/**
* ESC component IDs: 1180~1189
*/
ESC1(1180, "ESC1", "ESC 1"),
ESC2(1181, "ESC2", "ESC 2"),
ESC3(1182, "ESC3", "ESC 3"),
ESC4(1183, "ESC4", "ESC 4"),

/**
* Platform SM8475 component IDs: 1190~1199
*/
PLATFORM_VISION(1190, "VISION", "Vision Platform System"),

/**
* Platform LC1881 component IDs: 1200~1209
*/
PLATFORM_SKYLINK(1200, "SKYLINK", "Video Transmission Platform System Mirror"),

/**
* Fill light component IDs: 1210~1219
*/
FILL_LIGHT(1210, "FillLight", "Downward Fill Light"),

/**
* Autel vision component IDs: 1220~1229
*/
AUTEL_VISION(1220, "AutelVision", "Stereo Image Processing Perception"),

/**
* Log collector component IDs: 1230~1239
*/
LOG_COLLECTOR_SKYLINK(1230, "LogCollector_SKYLINK", "Log Service SKYLINK"),
LOG_COLLECTOR(1231, "LogCollector_VISION", "Log Service VISION"),

/**
* Micro ftp component IDs: 1240~1249
*/

/**
* AtService air component IDs: 1250~1259
*/
ATSERVICE(1250, "AtServiceAir", "AT Service"),

/**
* Night light component IDs: 1260~1269
*/
NIGHT_LIGHT(1260, "NLight", "Night Navigation Light"),

/**
* Remote control end module types: 1100~1199
*/
COMPONENT_RC(1400, "COMPONENT_RC", "Remote Control"),
COMPONENT_MCU(1402, "COMPONENT_MCU", "Remote Control MCU"),
COMPONENT_TRANSMIT(1401, "COMPONENT_TRANSMIT_RC", "Remote Control Transmit"),
COMPONENT_MOTOR(1403, "COMPONENT_MOTOR", "Remote Control Motor Drive Board"),
COMPONENT_ATSERVICE_RC(1251, "COMPONENT_ATSERVICE_RC", "Remote AT Service"),

/**
* Remote control protocol gateway
*/
COMPONENT_PROTOCOL_GATEWAY_RC(1031, "COMPONENT_PROTOCOL_GATEWAY_RC", "Remote Control Protocol Gateway"),

/**
* Time sync component IDs: 1270~1279
*/
TIME_SYNC_LC1881(1270, "TimeSync_SKYLINK", "Time Synchronization Service SKYLINK"),
TIME_SYNC_SM8475(1271, "TimeSync_VISION", "Time Synchronization Service VISION"),



/**
* Photo album component IDs: 1500~1509
*/
ALBUM_MANAGER(1500, "ALBUM_MANAGER", "Album Manager"),


//add 2024/03/25 synchronization baseline

/**
* System Check component IDs: 1310~1399
*/
COMPONENT_ID_SYSTEM_CHECK(1310, "SYSTEM_CHECK", "System Check Component Description"),

/**
* COMPONENT_ID_TIME_SYNC_CAMERA = 1272;
*/
COMPONENT_ID_TIME_SYNC_CAMERA(1272, "TIME_SYNC_CAMERA", "Time Synchronization Camera Component Description"),

/**
* Accessories proxy component IDs: 1510~1515
*/
COMPONENT_ID_ACCPROXY(1510, "ACCPROXY", "Accessories Proxy Description"),

/**
* Ntrip client (RTK function): 1516~1516
*/
COMPONENT_ID_NTRIP_CLIENT(1516, "NTRIP_CLIENT", "Ntrip Client (RTK Functionality) Description"),

/**
* 4G/5G module proxy service: 1517~1517
*/
COMPONENT_ID_LTE_AGENT(1517, "LTE_AGENT", "4G/5G Module Proxy Service Description"),

/**
* MQTT proxy service: 1518~1518
*/
COMPONENT_ID_MQTT_AGENT(1518, "MQTT_AGENT", "MQTT Proxy Service Description"),

/**
* RTMP client: 1519~1519
*/
COMPONENT_ID_RTMP_CLIENT(1519, "RTMP_CLIENT", "RTMP Client Description"),

/**
* Time sync service component IDs: 1520~1529
*/
COMPONENT_ID_TIME_SYNC_SERVER(1520, "TIME_SYNC_SERVER", "Time Synchronization Server Description"),
COMPONENT_ID_TIME_SYNC_CLIENT(1521, "TIME_SYNC_CLIENT", "Time Synchronization Client Description"),
COMPONENT_ID_TIME_SYNC_NODE1(1522, "TIME_SYNC_NODE1", "Time Synchronization Node 1 Description"),
COMPONENT_ID_TIME_SYNC_NODE2(1523, "TIME_SYNC_NODE2", "Time Synchronization Node 2 Description"),

/**
* Log client component IDs: 1530-1539
*/
COMPONENT_ID_LOG_CLIENT(1530, "LOG_CLIENT", "Log Client Description"),


/**
* Platform A810 component IDs: 1540~1549
*/
COMPONENT_ID_PLATFORM_CAMERA(1540, "PLATFORM_CAMERA", "Platform Camera Description"),

//===================== DragonFish (Starting at 10001) =====================
DF_COMPONENT_FC(10001, "Flight Control", "Flight Control"),
DF_COMPONENT_FIT(10002, "Flight Image Transmission", "Flight Image Transmission"),
DF_COMPONENT_GIT(10003, "Ground Image Transmission", "Ground Image Transmission"),
DF_COMPONENT_REMOTER_PLAYER(10004, "Remote Player", "Remote Player"),
DF_COMPONENT_BS_MCU(10005, "Base Station MCU", "Base Station MCU"),

DF_COMPONENT_GIMBAL_ECS_PITCH(10007, "Gimbal Esc Pitch", "Gimbal ESC Pitch"),
DF_COMPONENT_GIMBAL_ECS_ROLL(10008, "Gimbal Esc Roll", "Gimbal ESC Roll"),
DF_COMPONENT_GIMBAL_ECS_YAW(10009, "Gimbal Esc Yaw", "Gimbal ESC Yaw"),

DF_COMPONENT_BATTERY(10010, "Aircraft Battery", "Aircraft Battery"),
DF_COMPONENT_GIMBAL(10011, "Gimbal", "Gimbal"),
DF_COMPONENT_OA(10012, "Obstacle Avoidance", "Obstacle Avoidance"),
DF_COMPONENT_REMOTER(10013, "Remote Control Sticks", "Remote Control Android"),
DF_COMPONENT_GROUND_MCU(10014, "Ground MCU", "Ground MCU"),

DF_COMPONENT_SONAR(10015, "Sonar", "Sonar"),
DF_COMPONENT_RADAR(10016, "Radar", "Radar"),

DF_COMPONENT_ECS_1(10020, "Esc 1", "ESC 1"),
DF_COMPONENT_ECS_2(10021, "Esc 2", "ESC 2"),
DF_COMPONENT_ECS_3(10022, "Esc 3", "ESC 3"),
DF_COMPONENT_ECS_4(10023, "Esc 4", "ESC 4"),

DF_COMPONENT_DATA_FORWARDING(10024, "Data Forwarding", "Data Forwarding"),

DF_COMPONENT_VISUAL_M1(10025, "Visual Module 1", "Visual Module 1"),
DF_COMPONENT_VISUAL_M2(10026, "Visual Module 2", "Visual Module 2"),
DF_COMPONENT_VISUAL_M3(10027, "Visual Module 3", "Visual Module 3"),

DF_COMPONENT_PC(10028, "PC", "PC"),
DF_COMPONENT_OPTICAL_FLOW(10029, "Optical Flow", "Optical Flow"),
DF_COMPONENT_APP(10032, "APP", "APP"),
DF_COMPONENT_CAMERA(10033, "Camera", "Camera"),

DF_COMPONENT_DF_ECS_1(10034, "DF ESC 1", "ESC Control Board 1"),
DF_COMPONENT_DF_ECS_2(10035, "DF ESC 2", "ESC Control Board 2"),
DF_COMPONENT_DF_ECS_3(10036, "DF ESC 3", "ESC Control Board 3"),
DF_COMPONENT_DF_ECS_4(10037, "DF ESC 4", "ESC Control Board 4"),

DF_COMPONENT_CHARGE_HUB(10038, "Multi-Charging Hub", "ChargeHub Battery Interface Board"),
DF_COMPONENT_BATTERY_HUB(10039, "Battery Hub", "Battery Interface Board"),
DF_COMPONENT_5_8G_AIR_TRANS(10041, "5.8G Data Transmission Aircraft Terminal", "5.8G Data Transmission Aircraft Terminal"),
DF_COMPONENT_5_8G_GND_TRANS(10042, "5.8G Data Transmission Ground Terminal", "5.8G Data Transmission Ground Terminal"),
DF_COMPONENT_BS_TRANSMISSION(10045, "Base Station Image Transmission", "Base Station Image Transmission"),
DF_COMPONENT_AIR_SPEED(10043, "Airspeed", "Airspeed"),
DF_COMPONENT_GPS(10060, "GPS", "GPS"),
DF_COMPONENT_VISUAL_GIMBAL(10061, "Visual Gimbal", "Visual Gimbal"),
DF_COMPONENT_AIR_RTK(10250, "Aircraft RTK", "Aircraft RTK Module"),
DF_COMPONENT_GND_RTK(10251, "Ground RTK", "Ground RTK Module"),
DF_COMPONENT_BS_WIFI(10252, "Base Station WIFI", "Base Station WIFI");
}