From e4310caab899b66a9cd3944c2b96fde261ed3c19 Mon Sep 17 00:00:00 2001 From: lixiaopeng Date: Tue, 18 Oct 2022 18:20:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=9C=80=E6=96=B0=E7=9A=84pb?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libraries/mogo-adas-data/src/main/proto/message_pad.proto | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libraries/mogo-adas-data/src/main/proto/message_pad.proto b/libraries/mogo-adas-data/src/main/proto/message_pad.proto index b6ac7f2a10..0dc400ce96 100644 --- a/libraries/mogo-adas-data/src/main/proto/message_pad.proto +++ b/libraries/mogo-adas-data/src/main/proto/message_pad.proto @@ -287,6 +287,7 @@ message RecordData bool isRecord = 4; //采集指令, true: 采集, false: 停止采集 bool sustain = 5; //是否持续采集 uint32 bduration = 6; //前溯时长 + repeated string topics = 7; //topic列表 } // message definition for MsgTypeRecordResult @@ -386,7 +387,9 @@ message SetRainModeReq // message definition for MsgTypeRecordDataConfigReq message RecordDataConfigReq { - uint32 reqType = 1; // 0: all, 其他保留 + uint32 reqType = 1; // 0: all, 1:获取当前所有topic列表, 2:配置需要预加载的topic组合 + uint32 recordType = 2; // 0:不需要修改内置类型的topic组合, 1:需要修改内置类型的topic组合 + repeated string topicsNeedToCache = 3; } // message definition for MsgTypeRecordDataConfigResp @@ -394,11 +397,13 @@ message RecordDataType { uint32 id = 1; //采集类型id string desc = 2; //采集类型描述 + repeated string topics = 3; //采集类型必须采集的topic列表 } message RecordDataConfig { repeated RecordDataType recordTypes = 1; + repeated string allTopics = 2; //当前所有topic列表 } // message definition for MsgTypeSubscribeDataReq