Apollo 11.0
自动驾驶开放平台
planning_internal.proto
浏览该文件的文档.
1syntax = "proto2";
2
3package apollo.planning_internal;
4
18
19message Debug {
20 optional PlanningData planning_data = 2;
21}
22
23message SpeedPlan {
24 optional string name = 1;
25 repeated apollo.common.SpeedPoint speed_point = 2;
26}
27
30 ST_BOUNDARY_TYPE_UNKNOWN = 1;
31 ST_BOUNDARY_TYPE_STOP = 2;
32 ST_BOUNDARY_TYPE_FOLLOW = 3;
33 ST_BOUNDARY_TYPE_YIELD = 4;
34 ST_BOUNDARY_TYPE_OVERTAKE = 5;
35 ST_BOUNDARY_TYPE_KEEP_CLEAR = 6;
36 ST_BOUNDARY_TYPE_DRIVABLE_REGION = 7;
37 }
38 optional string name = 1;
39 repeated apollo.common.SpeedPoint point = 2;
40 optional StBoundaryType type = 3;
41}
42
43message SLFrameDebug {
44 optional string name = 1;
45 repeated double sampled_s = 2;
46 repeated double static_obstacle_lower_bound = 3;
47 repeated double dynamic_obstacle_lower_bound = 4;
48 repeated double static_obstacle_upper_bound = 5;
49 repeated double dynamic_obstacle_upper_bound = 6;
50 repeated double map_lower_bound = 7;
51 repeated double map_upper_bound = 8;
52 repeated apollo.common.SLPoint sl_path = 9;
53 repeated double aggregated_boundary_s = 10;
54 repeated double aggregated_boundary_low = 11;
55 repeated double aggregated_boundary_high = 12;
56}
57
58message STGraphDebug {
60 repeated double t = 1;
61 repeated double lower_bound = 2;
62 repeated double upper_bound = 3;
63 }
65 repeated double t = 1;
66 repeated double cruise_line_s = 2;
67 }
69 repeated double t = 1;
70 repeated double follow_line_s = 2;
71 }
72
73 optional string name = 1;
74 repeated StGraphBoundaryDebug boundary = 2;
75 repeated apollo.common.SpeedPoint speed_limit = 3;
76 repeated apollo.common.SpeedPoint speed_profile = 4;
77 optional STGraphSpeedConstraint speed_constraint = 5;
78 optional STGraphKernelCuiseRef kernel_cruise_ref = 6;
79 optional STGraphKernelFollowRef kernel_follow_ref = 7;
80}
81
83 message SignalDebug {
84 optional string light_id = 1;
85 optional apollo.perception.TrafficLight.Color color = 2;
86 optional double light_stop_s = 3;
87 optional double adc_stop_deceleration = 4;
88 optional bool is_stop_wall_created = 5;
89 }
90 optional double adc_speed = 1;
91 optional double adc_front_s = 2;
92 repeated SignalDebug signal = 3;
93}
94
95message DecisionTag {
96 optional string decider_tag = 1;
97 optional apollo.planning.ObjectDecisionType decision = 2;
98}
99
101 optional string id = 1;
102 optional apollo.planning.SLBoundary sl_boundary = 2;
103 repeated DecisionTag decision_tag = 3;
104 repeated double vertices_x_coords = 4;
105 repeated double vertices_y_coords = 5;
106}
107
109 optional string id = 1;
110 optional double length = 2;
111 optional double cost = 3;
112 optional bool is_change_lane_path = 4;
113 optional bool is_drivable = 5;
114 optional bool is_protected = 6;
115 optional bool is_offroad = 7;
116 optional double minimum_boundary = 8;
117 optional double average_kappa = 9 [deprecated = true];
118 optional double average_dkappa = 10 [deprecated = true];
119 optional double kappa_rms = 11;
120 optional double dkappa_rms = 12;
121 optional double kappa_max_abs = 13;
122 optional double dkappa_max_abs = 14;
123 optional double average_offset = 15;
124}
125
127 repeated apollo.common.SLPoint sl_point = 1;
128}
129
131 repeated SampleLayerDebug sample_layer = 1;
132 repeated apollo.common.SLPoint min_cost_point = 2;
133}
134
136 // "scenario_type" is deprecated because scenario is designed as plugin and
137 // "scenario_plugin_type" will be used instead.
138 optional int32 scenario_type = 1 [deprecated=true];
139 // "stage_type" is deprecated because scenario is designed as plugin and
140 // "stage_plugin_type" will be used instead.
141 optional int32 stage_type = 2 [deprecated=true];
142 optional string msg = 3;
143 optional string scenario_plugin_type = 4;
144 optional string stage_plugin_type = 5;
145}
146
148 repeated apollo.common.Trajectory trajectory = 1;
149}
150
152 optional apollo.planning_internal.Trajectories trajectories = 1;
153 optional apollo.common.VehicleMotion warm_start_trajectory = 2;
154 optional apollo.common.VehicleMotion smoothed_trajectory = 3;
155 repeated double warm_start_dual_lambda = 4;
156 repeated double warm_start_dual_miu = 5;
157 repeated double optimized_dual_lambda = 6;
158 repeated double optimized_dual_miu = 7;
159 repeated double xy_boundary = 8;
160 repeated apollo.planning_internal.ObstacleDebug obstacles = 9;
161 optional apollo.common.TrajectoryPoint roi_shift_point = 10;
162 optional apollo.common.TrajectoryPoint end_point = 11;
163 optional apollo.planning_internal.Trajectories partitioned_trajectories = 12;
164 optional apollo.planning_internal.Trajectories chosen_trajectory = 13;
165 optional bool is_fallback_trajectory = 14;
166 optional apollo.planning_internal.Trajectories fallback_trajectory = 15;
167 optional apollo.common.TrajectoryPoint trajectory_stitching_point = 16;
168 optional apollo.common.TrajectoryPoint future_collision_point = 17;
169 optional double time_latency = 18 [default = 0.0]; // ms
170 optional apollo.common.PointENU origin_point = 19; // meter
171 optional double origin_heading_rad = 20;
172}
173
176 SMOOTHER_NONE = 1;
177 SMOOTHER_CLOSE_STOP = 2;
178 }
179 optional bool is_smoothed = 1;
180
181 optional SmootherType type = 2 [default = SMOOTHER_NONE];
182 optional string reason = 3;
183}
184
186 optional apollo.common.PointENU position = 1;
187 optional double theta = 2;
188 optional double length_front = 3;
189 optional double length_back = 4;
190 optional double width_left = 5;
191 optional double width_right = 6;
192}
193
194// next ID: 30
196 // input
197 optional apollo.localization.LocalizationEstimate adc_position = 7;
198 optional apollo.canbus.Chassis chassis = 8;
199 optional apollo.routing.RoutingResponse routing = 9;
200 optional apollo.common.TrajectoryPoint init_point = 10;
201
202 repeated apollo.common.Path path = 6;
203
204 repeated SpeedPlan speed_plan = 13;
205 repeated STGraphDebug st_graph = 14;
206 repeated SLFrameDebug sl_frame = 15;
207
208 optional apollo.common.Header prediction_header = 16;
209 optional SignalLightDebug signal_light = 17;
210
211 repeated ObstacleDebug obstacle = 18;
212 repeated ReferenceLineDebug reference_line = 19;
213 optional DpPolyGraphDebug dp_poly_graph = 20;
214 optional LatticeStTraining lattice_st_image = 21;
215 optional apollo.relative_map.MapMsg relative_map = 22;
216 optional AutoTuningTrainingData auto_tuning_training_data = 23;
217 optional double front_clear_distance = 24;
218 repeated apollo.dreamview.Chart chart = 25;
219 optional ScenarioDebug scenario = 26;
220 optional OpenSpaceDebug open_space = 27;
221 optional SmootherDebug smoother = 28;
222 optional PullOverDebug pull_over = 29;
223 optional HybridModelDebug hybrid_model = 30;
224 optional ADCDrivingState adc_driving_state = 31;
225}
226
228 optional int32 s = 1;
229 optional int32 t = 2;
230 optional uint32 r = 3;
231 optional uint32 g = 4;
232 optional uint32 b = 5;
233}
234
236 repeated LatticeStPixel pixel = 1;
237 optional double timestamp = 2;
238 optional string annotation = 3;
239 optional uint32 num_s_grids = 4;
240 optional uint32 num_t_grids = 5;
241 optional double s_resolution = 6;
242 optional double t_resolution = 7;
243}
244
246 repeated double cost_component = 1;
247}
248
250 optional CostComponents teacher_component = 1;
251 optional CostComponents student_component = 2;
252}
253
255 repeated apollo.routing.LaneSegment lane_segment = 1;
256}
257
261
263 repeated apollo.common.Path segment = 1;
264}
265
267 optional bool using_learning_model_output = 1 [default = false];
268 optional double learning_model_output_usage_ratio = 2;
269 optional string learning_model_output_fail_reason = 3;
270 optional apollo.common.Path evaluated_path_reference = 4;
271}
272
275 NO_NUDGE = 1;
276 LEFT_NUDGE = 2;
277 RIGHT_NUDGE = 3;
278 }
279 optional NudgeType type = 1;
280 optional ObstacleDebug obstacle = 2;
281 optional bool is_blocked = 3;
282}
283
289
295
297 optional apollo.hdmap.Lane.LaneTurn turn_type = 1 [default = NO_TURN];
298 optional double dis_to_turn = 2 [default = -1.0];
299}
300
302 optional string lane_id = 1;
303 optional double s_in_lane = 2;
304 optional double distance_to_destination = 3;
305 optional LaneChangeType lane_change_type = 4 [default = NO_CHANGE];
306 optional LaneBorrowType lane_borrow_type = 5 [default = NO_BORROW];
307 optional apollo.hdmap.Lane.LaneTurn cur_turn_info = 6;
308 optional LaneTurnInfo next_turn_info = 7;
309 optional bool is_in_junction = 8 [default = false];
310 optional bool is_fallback = 9 [default = false];
311 optional bool is_nudging = 10 [default = false];
312 repeated NudgeObstacleDebug nudge_obstacle = 11;
313}
apollo::canbus
apollo::common
apollo::dreamview
Definition chart.proto:3
apollo::hdmap
Definition map.proto:3
apollo::localization
Definition gps.proto:3
apollo::planning
Definition pad_msg.proto:2
apollo::relative_map
class register implement
Definition arena_queue.h:37