Apollo 10.0
自动驾驶开放平台
lane_graph.proto
浏览该文件的文档.
1syntax = "proto2";
2
3package apollo.prediction;
4
8
9message LanePoint {
10 optional apollo.common.Point3D position = 1;
11 optional double heading = 2 [default = 0.0];
12 optional double width = 3 [default = 0.0];
13 // relative s to focus obstacle
14 optional double relative_s = 4 [default = 0.0];
15 // relative l to focus obstacle
16 optional double relative_l = 5 [default = 0.0];
17 // lane point heading relative to focused obstacle heading
18 optional double angle_diff = 6 [default = 0.0];
19 optional double kappa = 7 [default = 0.0];
20
22 URBAN_ROAD = 0;
24 HIGHWAY = 2;
25 }
26
27 optional ScenarioType scenario_type = 8;
28 optional double speed_limit = 9;
29}
30
31message LaneSegment {
32 optional string lane_id = 1;
33 // s offset of the first lane point
34 optional double start_s = 2 [default = 0.0];
35 // s offset of the last lane point
36 optional double end_s = 3 [default = 0.0];
37 optional uint32 lane_turn_type = 4 [default = 0];
38 repeated LanePoint lane_point = 5;
39 // If this lane-segment is the one that's closest to ADC,
40 // then adc_s gives the s of the ADC.
41 optional double adc_s = 7 [default = 0.0];
42 optional int32 adc_lane_point_idx = 8 [default = 0];
43 optional double total_length = 6 [default = 0.0];
44}
45
47 optional int32 id = 1;
48 optional double s = 2; // relative to focus obstacle
49 optional double l = 3; // relative to focus obstacle
50}
51
52message StopSign {
53 optional string stop_sign_id = 1;
54 optional string lane_id = 2;
55 optional double lane_s = 3; // the s value within the lane
56 optional double lane_sequence_s = 4; // the s value along lane sequence
57}
58
59// next id = 24
60message LaneSequence {
61 optional int32 lane_sequence_id = 1;
62 repeated LaneSegment lane_segment = 2;
63 // The index of the lane-segment that is closest to ADC:
64 optional int32 adc_lane_segment_idx = 23 [default = 0];
65 repeated apollo.common.PathPoint path_point = 8;
66 optional apollo.hdmap.Lane.LaneType lane_type = 22;
67 optional double lane_s = 17;
68 optional double lane_l = 18;
69 optional bool vehicle_on_lane = 10;
70
71 // nearby obstacles on this lane sequence
72 repeated NearbyObstacle nearby_obstacle = 3;
73 optional StopSign stop_sign = 20;
74 optional int32 right_of_way = 21; // right_of_way score
75
76 message Features {
77 repeated double mlp_features = 1;
78 }
79 optional Features features = 4;
80 optional int32 label = 5 [default = 0];
81 optional double probability = 6 [default = 0.0];
82 optional double acceleration = 7 [default = 0.0];
83 optional double time_to_lane_center = 16;
84 optional double time_to_lane_edge = 19;
86 NOT_GOTO_LANE = 1;
87 CONSTANT_SPEED = 2;
88 SMALL_ACCELERATION = 3;
89 LARGE_ACCELERATION = 4;
90 SMALL_DECELERATION = 5;
91 LARGE_DECELERATION = 6;
92 }
93 optional BehaviorType behavior_type = 9;
94 // lane points on this lane sequence
95 repeated LanePoint curr_lane_point = 11;
96 // lane points on the left neighbor lane sequence
97 repeated LanePoint left_neighbor_point = 12;
98 // lane points on the right neighbor lane sequence
99 repeated LanePoint right_neighbor_point = 13;
100 // nearby obstacles on the left neighbor lane sequence
101 repeated NearbyObstacle left_nearby_obstacle = 14;
102 // nearby obstacles on the right neighbor lane sequence
103 repeated NearbyObstacle right_nearby_obstacle = 15;
104}
105
106message LaneGraph {
107 repeated LaneSequence lane_sequence = 1;
108}
109
111 optional int32 obstacle_id = 1;
112 optional string lane_id = 2;
113 optional double lane_s = 3;
114 optional double lane_l = 4;
115}
syntax
apollo::common
apollo::hdmap
Definition map.proto:3
class register implement
Definition arena_queue.h:37