屏蔽了squit3,实现了外部通讯交互

This commit is contained in:
zjk
2025-04-27 00:11:30 +08:00
parent 06226b6704
commit a45ba75c37
17 changed files with 580 additions and 257 deletions
+23 -8
View File
@@ -437,14 +437,7 @@ namespace WorkCondition {
DEBUG_MODE = 12 // 调试模式
};
};
// 抛载 throwLoad
// 运动上浮 floatUp
// 回收 recycle
// 悬停 hover
// 上浮通信 satComm
// 上浮校准 satCalibrate
// 游曳 tour
// 航行 sail
namespace TaskType {
enum Type : unsigned char {
THROW_LOAD = 1, // 抛载
@@ -487,6 +480,22 @@ namespace TaskType {
}
}
namespace DriverCmd {
enum Type : unsigned char {
OFF = 0, //断电
ON = 1, //上电
//仪表电上电
METER_ON = 2,
//动力电上电
POWER_ON = 3,
//仪表电断电
METER_OFF = 4,
//动力电断电
POWER_OFF = 5,
};
};
struct MissionState
{
int type;
@@ -494,5 +503,11 @@ struct MissionState
bool enableBuoyancyAdjustment;
};
struct DeviceSwitchCmd
{
int id;
int cmd;
};
#endif