Apollo
10.0
自动驾驶开放平台
perception_barrier_gate.proto
浏览该文件的文档.
1
syntax
=
"proto2"
;
2
3
package
apollo.perception;
4
5
import
"
modules/common_msgs/basic_msgs/header.proto
";
6
7
message
BarrierGate
{
8
enum
Status
{
9
UNKNOWN = 0;
10
CLOSED = 1;
11
CLOSING = 2;
12
OPENED = 3;
13
OPENING = 4;
14
};
15
optional
Status
status = 1;
16
17
// Barrier gate string-ID in the map data.
18
optional
string
id
= 2;
19
20
// Barrier gate type in the map data.
21
optional
string
type = 3;
22
23
// Wheter the barrier recognition is activated.
24
optional
bool
is_useable = 4 [
default
=
false
];
25
26
// Open percentage.
27
optional
double
open_percent = 5;
28
}
29
30
message
PerceptionBarrierGate
{
31
optional
apollo
.
common
.
Header
header = 1;
32
repeated
BarrierGate
barrier_gates = 2;
33
}
header.proto
apollo::common
apollo::common
apollo
class register implement
Definition
arena_queue.h:37
syntax
syntax
Definition
perception_barrier_gate.proto:1
apollo::common::Header
Definition
header.proto:7
apollo::perception::BarrierGate
Definition
perception_barrier_gate.proto:7
apollo::perception::BarrierGate::Status
Status
Definition
perception_barrier_gate.proto:8
apollo::perception::PerceptionBarrierGate
Definition
perception_barrier_gate.proto:30
modules
common_msgs
perception_msgs
perception_barrier_gate.proto