Apollo
10.0
自动驾驶开放平台
audio_event.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/header.proto
";
23
import
"
modules/common_msgs/localization_msgs/pose.proto
";
24
25
message
AudioEvent
{
26
optional
apollo
.
common
.
Header
header = 1;
27
optional int32
id
= 2;
// obstacle ID.
28
optional
apollo
.
audio
.MovingResult moving_result = 3 [
default
=
UNKNOWN
];
29
optional
apollo
.
audio
.AudioType audio_type = 4 [
default
=
UNKNOWN_TYPE
];
30
optional
bool
siren_is_on = 5;
31
optional
apollo
.
audio
.AudioDirection audio_direction = 6
32
[
default
=
UNKNOWN_DIRECTION
];
33
optional
apollo
.
localization
.
Pose
pose = 7;
34
}
audio_common.proto
syntax
syntax
Definition
audio_event.proto:17
header.proto
apollo::audio
apollo::audio
Definition
audio_component.cc:23
apollo::audio::UNKNOWN
@ UNKNOWN
Definition
audio_common.proto:22
apollo::audio::UNKNOWN_TYPE
@ UNKNOWN_TYPE
Definition
audio_common.proto:29
apollo::audio::UNKNOWN_DIRECTION
@ UNKNOWN_DIRECTION
Definition
audio_common.proto:36
apollo::common
apollo::common
apollo::localization
apollo::localization
Definition
gps.proto:3
apollo
class register implement
Definition
arena_queue.h:37
pose.proto
apollo::audio::AudioEvent
Definition
audio_event.proto:25
apollo::common::Header
Definition
header.proto:7
apollo::localization::Pose
Definition
pose.proto:23
modules
common_msgs
audio_msgs
audio_event.proto