Apollo
11.0
自动驾驶开放平台
extractor_config.proto
浏览该文件的文档.
1
/******************************************************************************
2
* Copyright 2019 The Apollo Authors. All Rights Reserved.
3
*
4
* Licensed under the Apache License, Version 2.0 (the License);
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
7
*
8
* http://www.apache.org/licenses/LICENSE-2.0
9
*
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an AS IS BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
15
*****************************************************************************/
16
17
// data extractor configuration
18
19
syntax
=
"proto2"
;
20
21
message
IoConfig
{
22
required
string
task_name = 1 [
default
=
"tmp"
];
23
required
string
output_path = 2 [
default
=
"extracted_data"
];
24
optional
string
start_timestamp = 3 [
default
=
"FLOAT_MIN"
];
25
optional
string
end_timestamp = 4 [
default
=
"FLOAT_MAX"
];
26
optional
string
main_sensor = 5;
27
};
28
29
message
ChannelConfig
{
30
optional
string
description = 1 [
default
=
""
];
31
required
string
name = 2;
32
required uint32 extraction_rate = 3 [
default
= 1];
33
};
34
35
message
Channels
{
36
repeated
ChannelConfig
channel = 1;
37
};
38
39
message
Records
{
40
repeated
string
record_path = 1;
41
};
42
43
message
DataExtractionConfig
{
44
required
IoConfig
io_config = 1;
45
required
Channels
channels = 2;
46
required
Records
records = 3;
47
};
syntax
syntax
Definition
extractor_config.proto:19
ChannelConfig
Definition
extractor_config.proto:29
Channels
Definition
extractor_config.proto:35
DataExtractionConfig
Definition
extractor_config.proto:43
IoConfig
Definition
extractor_config.proto:21
Records
Definition
extractor_config.proto:39
modules
tools
sensor_calibration
proto
extractor_config.proto