Apollo 10.0
自动驾驶开放平台
data_handler.proto
浏览该文件的文档.
1syntax = "proto2";
2
3package apollo.dreamview;
4
5message 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
13message ChannelInfo {
14 optional string channel_name = 1;
15 optional string proto_path = 2;
16 optional string msg_type = 3;
17}
18
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
32 map<string, DataHandlerInfo> data_handler_info = 1;
33}
34
35message 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}