fujiankuan 2 жил өмнө
parent
commit
92b9d6c89a

+ 16 - 0
src/include/proto/lightarray.proto

@@ -0,0 +1,16 @@
+syntax = "proto2";
+
+package iv.vision;
+message Center{
+  optional double x=1 [default = 0];  //x坐标
+  optional double y=2 [default = 0];  //y坐标
+};
+message Light{
+  optional int32 index = 1; //编号
+  optional int32 type = 2 [default = 0]; //类别:1-red;2-green;3-yellow
+  optional Center center = 3; //点
+};
+message Lightarray{
+  repeated Light light = 1;   
+  optional int64 timestamp =2; //时间戳
+};