- 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; //时间戳
- };
|