Apollo
10.0
自动驾驶开放平台
v2x_traffic_light_policy.proto
浏览该文件的文档.
1
syntax
=
"proto2"
;
2
3
package
apollo.v2x;
4
5
message
Position2D
{
6
optional
double
x = 1;
7
optional
double
y = 2;
8
}
9
10
message
Connection
{
11
enum
Type
{
12
STRAIGHT = 0;
13
LEFT = 1;
14
RIGHT = 2;
15
U_TURN = 3;
16
};
17
optional
Type
allow_driving_behavior = 1;
18
optional int32 phase_id = 2;
19
}
20
21
message
Lane
{
22
optional int32 lane_id = 1;
23
repeated
Position2D
position_offset = 2;
24
repeated
Connection
connections = 3;
25
}
26
27
message
Road
{
28
optional int32 upstream_node_id = 1;
29
optional
Position2D
points = 2;
30
repeated
Lane
lanes = 3;
31
}
32
33
message
Intersection
{
34
optional int32
id
= 1;
35
optional
Position2D
position = 2;
36
repeated
Road
roads = 3;
37
}
38
39
message
Map
{
40
optional
double
time_stamp = 1;
41
optional int32 msg_cnt = 2;
42
repeated
Intersection
intersections = 3;
43
}
44
45
message
Phase
{
46
enum
Color
{
47
UNKNOWN = 0;
48
RED = 1;
49
YELLOW = 2;
50
GREEN = 3;
51
BLACK = 4;
52
FLASH_GREEN = 5;
53
};
54
optional int32
id
= 1;
55
optional
Color
color = 2;
56
optional int32 color_remaining_time_s = 3;
57
}
58
59
message
IntersectionState
{
60
optional int32 intersection_id = 1;
61
repeated
Phase
Phases = 2;
62
optional int32 moy = 3;
63
optional int32 time_stamp_dsecond = 4;
64
}
65
66
message
Spat
{
67
optional
double
time_stamp = 1;
68
optional int32 msg_cnt = 2;
69
repeated
IntersectionState
intersections = 3;
70
}
71
72
message
PolicyData
{
73
optional
Map
map = 1;
74
optional
Spat
spat = 2;
75
}
apollo::v2x::Connection
Definition
v2x_traffic_light_policy.proto:10
apollo::v2x::Connection::Type
Type
Definition
v2x_traffic_light_policy.proto:11
apollo::v2x::IntersectionState
Definition
v2x_traffic_light_policy.proto:59
apollo::v2x::Intersection
Definition
v2x_traffic_light_policy.proto:33
apollo::v2x::Lane
Definition
v2x_traffic_light_policy.proto:21
apollo::v2x::Map
Definition
v2x_traffic_light_policy.proto:39
apollo::v2x::Phase
Definition
v2x_traffic_light_policy.proto:45
apollo::v2x::Phase::Color
Color
Definition
v2x_traffic_light_policy.proto:46
apollo::v2x::PolicyData
Definition
v2x_traffic_light_policy.proto:72
apollo::v2x::Position2D
Definition
v2x_traffic_light_policy.proto:5
apollo::v2x::Road
Definition
v2x_traffic_light_policy.proto:27
apollo::v2x::Spat
Definition
v2x_traffic_light_policy.proto:66
syntax
syntax
Definition
v2x_traffic_light_policy.proto:1
modules
v2x
proto
v2x_traffic_light_policy.proto