提交 734805c3 编写于 作者: K kechxu 提交者: Qi Luo

audio: add more enums for labeling

上级 df3b5b0e
......@@ -24,3 +24,18 @@ enum MovingResult {
DEPARTING = 2;
STATIONARY = 3;
}
enum AudioType {
UNKNOWN_TYPE = 0;
POLICE = 1;
AMBULANCE = 2;
FIRETRUCK = 3;
}
enum AudioDirection {
UNKNOWN_DIRECTION = 0;
FRONT = 1;
LEFT = 2;
BACK = 3;
RIGHT = 4;
}
......@@ -9,5 +9,7 @@ message AudioEvent {
optional apollo.common.Header header = 1;
optional int32 id = 2; // obstacle ID.
optional apollo.audio.MovingResult moving_result = 3 [default = UNKNOWN];
optional bool siren_is_on = 4;
optional apollo.audio.AudioType audio_type = 4 [default = UNKNOWN_TYPE];
optional bool siren_is_on = 5;
optional apollo.audio.AudioDirection audio_direction = 6 [default = UNKNOWN_DIRECTION];
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册