Apollo
10.0
自动驾驶开放平台
audio.proto
浏览该文件的文档.
1
/******************************************************************************
2
* Copyright 2020 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
syntax
=
"proto2"
;
18
19
package
apollo.audio;
20
21
import
"
modules/common_msgs/audio_msgs/audio_common.proto
";
22
import
"
modules/common_msgs/basic_msgs/geometry.proto
";
23
import
"
modules/common_msgs/basic_msgs/header.proto
";
24
25
message
AudioDetection
{
26
optional
apollo
.
common
.
Header
header = 1;
27
optional
bool
is_siren = 2;
28
optional
apollo
.
audio
.MovingResult moving_result = 3 [
default
=
UNKNOWN
];
29
optional
apollo
.
common
.
Point3D
position = 4;
30
optional
double
source_degree = 5;
31
}
audio_common.proto
geometry.proto
syntax
syntax
Definition
audio.proto:17
header.proto
apollo::audio
apollo::audio
Definition
audio_component.cc:23
apollo::audio::UNKNOWN
@ UNKNOWN
Definition
audio_common.proto:22
apollo::common
apollo::common
apollo
class register implement
Definition
arena_queue.h:37
apollo::audio::AudioDetection
Definition
audio.proto:25
apollo::common::Header
Definition
header.proto:7
apollo::common::Point3D
Definition
geometry.proto:41
modules
common_msgs
audio_msgs
audio.proto