Apollo
10.0
自动驾驶开放平台
data_handler.proto
浏览该文件的文档.
1
syntax
=
"proto2"
;
2
3
package
apollo.dreamview;
4
5
message
WebsocketInfo
{
6
// Use websocket_name to correspond to websocket,
7
// which is convenient for SocketManager to find websocket
8
optional
string
websocket_name = 1;
9
// websocket_pipe is used to create websocket and send data
10
optional
string
websocket_pipe = 2;
11
}
12
13
message
ChannelInfo
{
14
optional
string
channel_name = 1;
15
optional
string
proto_path = 2;
16
optional
string
msg_type = 3;
17
}
18
19
message
DataHandlerInfo
{
20
optional
string
data_name = 1;
21
// proto file location
22
optional
string
proto_path = 2;
23
// The message type of proto,eg:apollo.dreamview.SimulationWorld
24
optional
string
msg_type = 3;
25
optional
WebsocketInfo
websocket_info = 4;
26
// camera point_cloud may exists data source comes from multiplay channels
27
optional
bool
different_for_channels = 5 [
default
=
false
];
28
repeated
ChannelInfo
channels = 6;
29
}
30
31
message
DataHandlerConf
{
32
map<string, DataHandlerInfo> data_handler_info = 1;
33
}
34
35
message StreamData{
36
optional
string
type = 1;
37
optional
string
action = 2;
38
optional
string
data_name = 3;
39
optional
string
channel_name = 4;
40
optional bytes data = 5;
41
}
syntax
syntax
Definition
data_handler.proto:1
apollo::dreamview::ChannelInfo
Definition
data_handler.proto:13
apollo::dreamview::DataHandlerConf
Definition
data_handler.proto:31
apollo::dreamview::DataHandlerInfo
Definition
data_handler.proto:19
apollo::dreamview::WebsocketInfo
Definition
data_handler.proto:5
modules
dreamview_plus
proto
data_handler.proto