Apollo 10.0
自动驾驶开放平台
planning.proto
浏览该文件的文档.
1syntax = "proto2";
2
3package apollo.planning;
4
13
14message Point {
15 optional double x = 1;
16 optional double y = 2;
17}
18
19message LocationPose {
20 //vehice location pose
21 optional Point vehice_location = 1;
22
23 // left width point of vehice location
24 optional Point left_lane_boundary_point = 2;
25
26 // right width SL point of vehice location
27 optional Point right_lane_boundary_point = 3;
28}
29
30message EStop {
31 // is_estop == true when emergency stop is required
32 optional bool is_estop = 1;
33 optional string reason = 2;
34}
35
36message TaskStats {
37 optional string name = 1;
38 optional double time_ms = 2;
39}
40
41message LatencyStats {
42 optional double total_time_ms = 1;
43 repeated TaskStats task_stats = 2;
44 optional double init_frame_time_ms = 3;
45}
46
55
56message RSSInfo {
57 optional bool is_rss_safe = 1;
58 optional double cur_dist_lon = 2;
59 optional double rss_safe_dist_lon = 3;
60 optional double acc_lon_range_minimum = 4;
61 optional double acc_lon_range_maximum = 5;
62 optional double acc_lat_left_range_minimum = 6;
63 optional double acc_lat_left_range_maximum = 7;
64 optional double acc_lat_right_range_minimum = 8;
65 optional double acc_lat_right_range_maximum = 9;
66}
67
68// next id: 24
70 optional apollo.common.Header header = 1;
71
72 optional double total_path_length = 2; // in meters
73
74 optional double total_path_time = 3; // in seconds
75
76 optional EStop estop = 6;
77
78 optional apollo.planning_internal.Debug debug = 8;
79
80 // is_replan == true mean replan triggered
81 optional bool is_replan = 9 [default = false];
82
83 // Specify trajectory gear
84 optional apollo.canbus.Chassis.GearPosition gear = 10;
85
86 // path data + speed data
87 repeated apollo.common.TrajectoryPoint trajectory_point = 12;
88
89 // path point without speed info
90 repeated apollo.common.PathPoint path_point = 13;
91
92 optional apollo.planning.DecisionResult decision = 14;
93
94 optional LatencyStats latency_stats = 15;
95
96 // the routing used for current planning result
97 optional apollo.common.Header routing_header = 16;
99 UNPROTECTED = 0;
100 PROTECTED = 1;
101 }
102 optional RightOfWayStatus right_of_way_status = 17;
103
104 // lane id along current reference line
105 repeated apollo.hdmap.Id lane_id = 18;
106
107 // set the engage advice for based on current planning result.
108 optional apollo.common.EngageAdvice engage_advice = 19;
109
110 // the region where planning cares most
112 repeated apollo.common.Polygon region = 1;
113 }
114 // critical region will be empty when planning is NOT sure which region is
115 // critical
116 // critical regions may or may not overlap
117 optional CriticalRegion critical_region = 20;
118
121 NORMAL = 1;
122 PATH_FALLBACK = 2;
123 SPEED_FALLBACK = 3;
124 PATH_REUSED = 4;
125 OPEN_SPACE = 5;
126 EDGE_FOLLOW = 6;
127 RELATIVE_CONTROL = 7;
128 }
129 optional TrajectoryType trajectory_type = 21 [default = UNKNOWN];
130
131 optional string replan_reason = 22;
132
133 // lane id along target reference line
134 repeated apollo.hdmap.Id target_lane_id = 23;
135
136 // complete dead end flag
137 optional bool car_in_dead_end = 24;
138
139 // vehicle location pose
140 optional LocationPose location_pose = 25;
141
142 // in RELATIVE_CONTROL trajectory type, if trajectory is collisioned with obstable
143 optional bool is_collision = 26 [default = false];
144
145 // output related to RSS
146 optional RSSInfo rss_info = 100;
147
148}
apollo::canbus
apollo::common
apollo::hdmap
Definition map.proto:3
apollo::planning
Definition pad_msg.proto:2
class register implement
Definition arena_queue.h:37
syntax
Definition planning.proto:1