From 987e62692aafee4860a54efc7e2f7e8f7f721ded Mon Sep 17 00:00:00 2001
From: wu_xinjun <bent20140204@outlook.com>
Date: 星期二, 15 二月 2022 16:46:24 +0800
Subject: [PATCH] add microwave&env
---
src/protos/aerial.proto | 31 +++++++++++++++++++++++++++++++
1 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/proto/aerial.proto b/src/protos/aerial.proto
similarity index 83%
rename from proto/aerial.proto
rename to src/protos/aerial.proto
index 8be6467..2f56188 100644
--- a/proto/aerial.proto
+++ b/src/protos/aerial.proto
@@ -120,3 +120,34 @@
bytes data = 6; // 鏁版嵁
int32 checksum = 7; // 鏍¢獙鐮�
}
+
+
+// 鏈嶅姟绔悜閲囬泦绔彂閫佺殑涓绘寚浠�
+enum ControlSysCommand {
+ DUST_CLEANER_COMMAND = 0;
+}
+
+// 鏈嶅姟绔悜閲囬泦绔彂閫佺殑瀛愬懡浠�
+enum ControlSubCommand {
+ // dust cleaner sub commands
+ DUST_CLEANER_ONETIME_CLEAN_SELF = 0;
+ DUST_CLEANER_ONETIME_CLEAN_CAMERA = 1;
+ DUST_CLEANER_CLOSE_PERIOD_CLEAN_SELF = 2;
+ DUST_CLEANER_CLOSE_PERIOD_CLEAN_CAMERA = 3;
+ DUST_CLEANER_PERIOD_CLEAN_SELF = 4;
+ DUST_CLEANER_PERIOD_CLEAN_CAMERA = 5;
+}
+
+// dust cleaner command message
+message DustCleanerMessage {
+ uint32 period = 1;
+}
+
+// 鎺у埗涓婁綅鏈烘秷鎭�
+message ControllMessage {
+ int32 sync_word = 1; // 鍚屾瀛�
+ ControlSysCommand sys_command = 3; // 涓诲懡浠�
+ ControlSubCommand sub_command = 4; // 瀛愬懡浠�
+ DataField data = 5; // 鏁版嵁
+ int32 checksum = 7; // 鏍¢獙鐮�
+}
--
Gitblit v1.9.1