无人机组件 ID 枚举
enum class DroneComponentIdEnum
描述: 无人机组件ID:0~99999
enum class DroneComponentIdEnum(var value: Int, var englishName: String, var moduleName: String) {
NONE(0, "None", "未知"),
/**
* 升级组件ID: 1000 ~ 1019
*/
UPGRADE_NODE1(1000, "UpgradeService_VISION", "升级服务VISION"),
UPGRADE_NODE2(1003, "UpgradeService_SKYLINK", "升级服务SKYLINK"),
// UPGRADE_NODE3(1004,"",""),
// UPGRADE_NODE4(1005,"",""),
/**
* 文件服务ID: 1240~1249
*/
MICRO_FTP_SKYLINK(1240, "MicroFtp_SKYLINK", "文件服务SKYLINK"),
MICRO_FTP_VISION(1241, "MicroFtp_VISION", "文件服务VISION"),
/**
* 业务主控组件ID: 1020~1029
*/
SERVICE_MAIN_CONTROL(1021, "ServiceMainControl", "业务主控服务"),
/**
* 遥控器协议网关ID: 1030~1039
*/
PROTOCOL_GATEWAY_RC(1031, "GATEWAY_RC", "协议网关"),
/**
* 系统服务组件ID:1040~1049
*/
SYSTEM_PACK(1040, "SystemPackage", "系统包版本"),
SYS_MANAGER_LC1881(1041, "SysStaManageService_SKYLINK", "系统资源管理服务SKYLINK"),
SYS_MANAGER_QCOM8475(1042, "SysStaManageService_VISION", "系统资源管理服务VISION"),
COMPONENT_ID_SYS_MANAGER_SKYLINK_RC(1043, "SYS_MANAGER_SKYLINK_RC", "系统资源管理服务遥控器1881"),
COMPONENT_ID_SYS_MANAGER_660_RC(1044, "SYS_MANAGER_660_RC", "系统资源管理服务遥控器660"),
/**
* AlinkRos componentID: 1050~1059
*/
ALINK_ROS_VISION(1050, "FcsGateway_VISION", "飞控网关VISION"),
ALINK_ROS_SKYLINK(1051, "FcsGateway_SKYLINK", "飞控网关"),
/**
* mif componentID:1060~1069
*/
MIF(1060, "AutonomyMIF", "SLAM"),
/**
* planner componentID: 1070~1079
*/
PLANNER(1070, "Planner", "运动规划"),
/**
* soa componentID: 1080~1089
*/
SOA(1080, "SOACalib", "SOA"),
/**
* ai componentID: 1090~1099
*/
AI(1090, "AiService", "Ai服务"),
/**
* mission manager componentID: 1100~1109
*/
MISSION_MANAGER(1100, "MissionManager", "飞行任务管理"),
// target estimation componentID: 1110~1119
// TARGET_ESTIMATION(1110,"",""),
/**
* camera componentID: 1120~1129
*/
CAMERA(1120, "camera", "相机服务"),
/**
* radar componentID: 1280~1299
*/
RADAR(1280, "RadarService", "雷达网关"),
RADAR_FRONT(1281, "Radar_Front", "前视雷达"),
RADAR_BACK(1282, "Radar_Back", "后视雷达"),
RADAR_UP(1283, "Radar_Up", "上视雷达"),
RADAR_DOWN(1284, "Radar_Down", "下视雷达"),
RADAR_LEFT(1285, "Radar_Left", "左视雷达"),
RADAR_RIGHT(1286, "Radar_Right", "右视雷达"),
/**
* remoteID componentID: 1140~1149
*/
REMOTEL_ID(1140, "RemoteID", "RemoteID"),
/**
* FCS componentID: 1150~1159
*/
FCS(1150, "FCS", "飞控"),
/**
* battery componentID: 1160~1169
*/
BATTERY(1160, "SmartBattery", "电池"),
/**
* gimbal componentID: 1170~1179
*/
GIMBAL(1170, "Gimbal", "云台"),
/**
* ESC componentID: 1180~1189
*/
ESC1(1180, "ESC1", "电调1"),
ESC2(1181, "ESC2", "电调2"),
ESC3(1182, "ESC3", "电调3"),
ESC4(1183, "ESC4", "电调4"),
/**
* platform SM8475 componentID: 1190~1199
*/
PLATFORM_VISION(1190, "VISION", "视觉平台系统"),
/**
* platform LC1881 componentID: 1200~1209
*/
PLATFORM_SKYLINK(1200, "SKYLINK", "图传平台系统镜像"),
/**
* Fill light componentID: 1210~1219
*/
FILL_LIGHT(1210, "FillLight", "下视补光灯"),
/**
* Autel vision componentID: 1220~1229
*/
AUTEL_VISION(1220, "AutelVision", "双目图像处理感知"),
/**
* Log collector componentID: 1230~1239
*/
LOG_COLLECTOR_SKYLINK(1230, "LogCollector_SKYLINK", "日志服务SKYLINK"),
LOG_COLLECTOR(1231, "LogCollector_VISION", "日志服务VISION"),
/**
* Micro ftp componentID: 1240~1249
*/
/**
* AtService air componentID: 1250~1259
*/
ATSERVICE(1250, "AtServiceAir", "AT服务"),
/**
* Night light componentID: 1260~1269
*/
NIGHT_LIGHT(1260, "NLight", "夜航灯"),
/**
* 遥控器端模块Type: 1100~1199
*/
COMPONENT_RC(1400, "COMPONENT_RC", "遥控器"),
COMPONENT_MCU(1402, "COMPONENT_MCU", "遥控器mcu"),
COMPONENT_TRANSMIT(1401, "COMPONENT_TRANSMIT_RC", "遥控器transmit"),
COMPONENT_MOTOR(1403, "COMPONENT_MOTOR", "遥控器电机驱动板"),
COMPONENT_ATSERVICE_RC(1251, "COMPONENT_ATSERVICE_RC", "遥控At服务"),
/**
* 遥控协议网关
*/
COMPONENT_PROTOCOL_GATEWAY_RC(1031, "COMPONENT_PROTOCOL_GATEWAY_RC", "遥控协议网关"),
/**
* Time sync componentID: 1270~1279
*/
TIME_SYNC_LC1881(1270, "TimeSync_SKYLINK", "时间同步服务SKYLINK"),
TIME_SYNC_SM8475(1271, "TimeSync_VISION", "时间同步服务VISION"),
/**
* photo album componentID: 1500~1509
*/
ALBUM_MANAGER(1500, "ALBUM_MANAGER", "相册管理"),
//add 2024/03/25 同步基线
/**
* <pre>
* System Check componentID: 1310~1399
* </pre>
*
* <code>COMPONENT_ID_SYSTEM_CHECK = 1310;</code>
*/
COMPONENT_ID_SYSTEM_CHECK(1310, "SYSTEM_CHECK", "System Check component description"),
/**
* <code>COMPONENT_ID_TIME_SYNC_CAMERA = 1272;</code>
*/
COMPONENT_ID_TIME_SYNC_CAMERA(1272, "TIME_SYNC_CAMERA", "Description for time synchronization camera"),
/**
* <pre>
* Accessories proxy componentID: 1510~1515
* </pre>
*
* <code>COMPONENT_ID_ACCPROXY = 1510;</code>
*/
COMPONENT_ID_ACCPROXY(1510, "ACCPROXY", "Accessories proxy description"),
/**
* <pre>
* Ntrip客户端(RTK功能): 1516~1516
* </pre>
*
* <code>COMPONENT_ID_NTRIP_CLIENT = 1516;</code>
*/
COMPONENT_ID_NTRIP_CLIENT(1516, "NTRIP_CLIENT", "Ntrip client (RTK functionality) description"),
/**
* <pre>
* 4G/5G模块的代理服务: 1517~1517
* </pre>
*
* <code>COMPONENT_ID_LTE_AGENT = 1517;</code>
*/
COMPONENT_ID_LTE_AGENT(1517, "LTE_AGENT", "4G/5G module proxy service description"),
/**
* <pre>
* MQTT代理服务: 1518~1518
* </pre>
*
* <code>COMPONENT_ID_MQTT_AGENT = 1518;</code>
*/
COMPONENT_ID_MQTT_AGENT(1518, "MQTT_AGENT", "MQTT proxy service description"),
/**
* <pre>
* RTMP客户端: 1519~1519
* </pre>
*
* <code>COMPONENT_ID_RTMP_CLIENT = 1519;</code>
*/
COMPONENT_ID_RTMP_CLIENT(1519, "RTMP_CLIENT", "RTMP client description"),
/**
* <pre>
* 时间同步服务组件ID: 1520~1529
* </pre>
*
* <code>COMPONENT_ID_TIME_SYNC_SERVER = 1520;</code>
*/
COMPONENT_ID_TIME_SYNC_SERVER(1520, "TIME_SYNC_SERVER", "Time synchronization server description"),
/**
* <code>COMPONENT_ID_TIME_SYNC_CLIENT = 1521;</code>
*/
COMPONENT_ID_TIME_SYNC_CLIENT(1521, "TIME_SYNC_CLIENT", "Time synchronization client description"),
/**
* <code>COMPONENT_ID_TIME_SYNC_NODE1 = 1522;</code>
*/
COMPONENT_ID_TIME_SYNC_NODE1(1522, "TIME_SYNC_NODE1", "Time synchronization node 1 description"),
/**
* <code>COMPONENT_ID_TIME_SYNC_NODE2 = 1523;</code>
*/
COMPONENT_ID_TIME_SYNC_NODE2(1523, "TIME_SYNC_NODE2", "Time synchronization node 2 description"),
/**
* <pre>
* 日志服务组件ID:1530-1539
* </pre>
*
* <code>COMPONENT_ID_LOG_CLIENT = 1530;</code>
*/
COMPONENT_ID_LOG_CLIENT(1530, "LOG_CLIENT", "Log client description"),
/**
* <pre>
* platform A810 componentID: 1540~1549
* </pre>
*
* <code>COMPONENT_ID_PLATFORM_CAMERA = 1540;</code>
*/
COMPONENT_ID_PLATFORM_CAMERA(1540, "PLATFORM_CAMERA", "Description for platform camera"),
//=====================龙鱼(10001开始)====================
DF_COMPONENT_FC(10001, "Flight Control","飞控"),
DF_COMPONENT_FIT(10002, "Flight Image Transmission","空中图传"),
DF_COMPONENT_GIT(10003, "Ground Image Transmission","地面图传"),
DF_COMPONENT_REMOTER_PLAYER(10004, "Remote Player","遥控播放器"),
DF_COMPONENT_BS_MCU(10005, "Base Station MCU","基站MCU"),
DF_COMPONENT_GIMBAL_ECS_PITCH(10007, "Gimbal Esc Pitch","云台电调pitch"),
DF_COMPONENT_GIMBAL_ECS_ROLL(10008, "Gimbal Esc Roll","云台电调roll"),
DF_COMPONENT_GIMBAL_ECS_YAW(10009, "Gimbal Esc Yaw","云台电调yaw"),
DF_COMPONENT_BATTERY(10010, "Aircraft Battery","智能电池"),
DF_COMPONENT_GIMBAL(10011, "Gimbal","云台"),
DF_COMPONENT_OA(10012, "Obstacle Avoidance","避障"),
DF_COMPONENT_REMOTER(10013, "Remote Control Sticks","遥控器android"),
DF_COMPONENT_GROUND_MCU(10014, "Ground MCU","地面MCU"),
DF_COMPONENT_SONAR(10015, "Sonar","超声"),
DF_COMPONENT_RADAR(10016, "Radar","雷达"),
DF_COMPONENT_ECS_1(10020, "Esc 1","电调1"),
DF_COMPONENT_ECS_2(10021, "Esc 2","电调2"),
DF_COMPONENT_ECS_3(10022, "Esc 3","电调3"),
DF_COMPONENT_ECS_4(10023, "Esc 4","电调4"),
DF_COMPONENT_DATA_FORWARDING(10024, "Data Forwarding","数据转发"),
DF_COMPONENT_VISUAL_M1(10025, "Visual Module 1","视觉模块1"),
DF_COMPONENT_VISUAL_M2(10026, "Visual Module 2","视觉模块2"),
DF_COMPONENT_VISUAL_M3(10027, "Visual Module 3","视觉模块3"),
DF_COMPONENT_PC(10028, "PC","电脑"),
DF_COMPONENT_OPTICAL_FLOW(10029, "Optical Flow","光流"),
DF_COMPONENT_APP(10032, "APP","APP"),
DF_COMPONENT_CAMERA(10033, "Camera","相机"),
DF_COMPONENT_DF_ECS_1(10034, "DF ESC 1","电调控制板1"),
DF_COMPONENT_DF_ECS_2(10035, "DF ESC 2","电调控制板2"),
DF_COMPONENT_DF_ECS_3(10036, "DF ESC 3","电调控制板3"),
DF_COMPONENT_DF_ECS_4(10037, "DF ESC 4","电调控制板4"),
DF_COMPONENT_CHARGE_HUB(10038, "Multi-Charging Hub","chargehub电池接口板"),
DF_COMPONENT_BATTERY_HUB(10039, "Battery Hub","电池接口板"),
DF_COMPONENT_5_8G_AIR_TRANS(10041, "5.8G Data Transmission Aircraft Terminal","5.8G数传飞机端"),
DF_COMPONENT_5_8G_GND_TRANS(10042, "5.8G Data Transmission Ground Terminal","5.8G数传地面端"),
DF_COMPONENT_BS_TRANSMISSION(10045, "Base Station Image Transmission","基站图传"),
DF_COMPONENT_AIR_SPEED(10043, "Airspeed","空速计"),
DF_COMPONENT_GPS(10060, "GPS","GPS"),
DF_COMPONENT_VISUAL_GIMBAL(10061, "Visual Gimbal","视觉云台"),
DF_COMPONENT_AIR_RTK(10250, "Aircraft RTK","飞机端RTK模块"),
DF_COMPONENT_GND_RTK(10251, "Ground RTK","地面端RTK模块"),
DF_COMPONENT_BS_WIFI(10252, "Base Station WIFI","基站WIFI");
}