Apollo
11.0
自动驾驶开放平台
v2x_junction.proto
浏览该文件的文档.
1
syntax
=
"proto2"
;
2
3
package
apollo.v2x;
4
5
import
"
modules/common_msgs/basic_msgs/geometry.proto
";
6
7
message
Id
{
8
optional bytes
id
= 1;
9
}
10
11
message
Junction
{
12
optional
Id
id
= 1;
13
optional
apollo
.
common
.
Polygon
polygon = 2;
14
15
// crosswalk in junction
16
repeated
Id
crosswalk_id = 3;
17
repeated
Id
overlap_id = 4;
18
19
// The number of road segments (arms) that are involved.
20
// e.g 3-way junction indicates a T junction (two arms form one road) or a Y
21
// junction.
22
optional int32 num_road_segments = 5 [
default
= 4];
23
// lanes in the junction
24
repeated
Id
lane_id = 6;
25
26
enum
Type
{
27
UNKNOWN = 0;
28
IN_ROAD = 1;
29
CROSS_ROAD = 2;
30
};
31
optional
Type
type = 7;
32
33
enum
EdgeType
{
34
PHYSICAL = 0;
35
VIRTUAL = 1;
36
};
37
repeated
EdgeType
edge_type = 8;
38
}
geometry.proto
apollo::common
apollo::common
apollo
class register implement
Definition
arena_queue.h:37
apollo::common::Polygon
Definition
geometry.proto:60
apollo::v2x::Id
Definition
v2x_junction.proto:7
apollo::v2x::Junction
Definition
v2x_junction.proto:11
apollo::v2x::Junction::EdgeType
EdgeType
Definition
v2x_junction.proto:33
apollo::v2x::Junction::Type
Type
Definition
v2x_junction.proto:26
syntax
syntax
Definition
v2x_junction.proto:1
modules
v2x
proto
v2x_junction.proto