Apollo 10.0
自动驾驶开放平台
planning_internal.proto
浏览该文件的文档.
1syntax = "proto2";
2
3package apollo.planning_internal;
4
17
18message Debug {
19 optional PlanningData planning_data = 2;
20}
21
22message SpeedPlan {
23 optional string name = 1;
24 repeated apollo.common.SpeedPoint speed_point = 2;
25}
26
29 ST_BOUNDARY_TYPE_UNKNOWN = 1;
30 ST_BOUNDARY_TYPE_STOP = 2;
31 ST_BOUNDARY_TYPE_FOLLOW = 3;
32 ST_BOUNDARY_TYPE_YIELD = 4;
33 ST_BOUNDARY_TYPE_OVERTAKE = 5;
34 ST_BOUNDARY_TYPE_KEEP_CLEAR = 6;
35 ST_BOUNDARY_TYPE_DRIVABLE_REGION = 7;
36 }
37 optional string name = 1;
38 repeated apollo.common.SpeedPoint point = 2;
39 optional StBoundaryType type = 3;
40}
41
42message SLFrameDebug {
43 optional string name = 1;
44 repeated double sampled_s = 2;
45 repeated double static_obstacle_lower_bound = 3;
46 repeated double dynamic_obstacle_lower_bound = 4;
47 repeated double static_obstacle_upper_bound = 5;
48 repeated double dynamic_obstacle_upper_bound = 6;
49 repeated double map_lower_bound = 7;
50 repeated double map_upper_bound = 8;
51 repeated apollo.common.SLPoint sl_path = 9;
52 repeated double aggregated_boundary_s = 10;
53 repeated double aggregated_boundary_low = 11;
54 repeated double aggregated_boundary_high = 12;
55}
56
57message STGraphDebug {
59 repeated double t = 1;
60 repeated double lower_bound = 2;
61 repeated double upper_bound = 3;
62 }
64 repeated double t = 1;
65 repeated double cruise_line_s = 2;
66 }
68 repeated double t = 1;
69 repeated double follow_line_s = 2;
70 }
71
72 optional string name = 1;
73 repeated StGraphBoundaryDebug boundary = 2;
74 repeated apollo.common.SpeedPoint speed_limit = 3;
75 repeated apollo.common.SpeedPoint speed_profile = 4;
76 optional STGraphSpeedConstraint speed_constraint = 5;
77 optional STGraphKernelCuiseRef kernel_cruise_ref = 6;
78 optional STGraphKernelFollowRef kernel_follow_ref = 7;
79}
80
82 message SignalDebug {
83 optional string light_id = 1;
84 optional apollo.perception.TrafficLight.Color color = 2;
85 optional double light_stop_s = 3;
86 optional double adc_stop_deceleration = 4;
87 optional bool is_stop_wall_created = 5;
88 }
89 optional double adc_speed = 1;
90 optional double adc_front_s = 2;
91 repeated SignalDebug signal = 3;
92}
93
94message DecisionTag {
95 optional string decider_tag = 1;
96 optional apollo.planning.ObjectDecisionType decision = 2;
97}
98
100 optional string id = 1;
101 optional apollo.planning.SLBoundary sl_boundary = 2;
102 repeated DecisionTag decision_tag = 3;
103 repeated double vertices_x_coords = 4;
104 repeated double vertices_y_coords = 5;
105}
106
108 optional string id = 1;
109 optional double length = 2;
110 optional double cost = 3;
111 optional bool is_change_lane_path = 4;
112 optional bool is_drivable = 5;
113 optional bool is_protected = 6;
114 optional bool is_offroad = 7;
115 optional double minimum_boundary = 8;
116 optional double average_kappa = 9 [deprecated = true];
117 optional double average_dkappa = 10 [deprecated = true];
118 optional double kappa_rms = 11;
119 optional double dkappa_rms = 12;
120 optional double kappa_max_abs = 13;
121 optional double dkappa_max_abs = 14;
122 optional double average_offset = 15;
123}
124
126 repeated apollo.common.SLPoint sl_point = 1;
127}
128
130 repeated SampleLayerDebug sample_layer = 1;
131 repeated apollo.common.SLPoint min_cost_point = 2;
132}
133
135 // "scenario_type" is deprecated because scenario is designed as plugin and
136 // "scenario_plugin_type" will be used instead.
137 optional int32 scenario_type = 1 [deprecated=true];
138 // "stage_type" is deprecated because scenario is designed as plugin and
139 // "stage_plugin_type" will be used instead.
140 optional int32 stage_type = 2 [deprecated=true];
141 optional string msg = 3;
142 optional string scenario_plugin_type = 4;
143 optional string stage_plugin_type = 5;
144}
145
147 repeated apollo.common.Trajectory trajectory = 1;
148}
149
151 optional apollo.planning_internal.Trajectories trajectories = 1;
152 optional apollo.common.VehicleMotion warm_start_trajectory = 2;
153 optional apollo.common.VehicleMotion smoothed_trajectory = 3;
154 repeated double warm_start_dual_lambda = 4;
155 repeated double warm_start_dual_miu = 5;
156 repeated double optimized_dual_lambda = 6;
157 repeated double optimized_dual_miu = 7;
158 repeated double xy_boundary = 8;
159 repeated apollo.planning_internal.ObstacleDebug obstacles = 9;
160 optional apollo.common.TrajectoryPoint roi_shift_point = 10;
161 optional apollo.common.TrajectoryPoint end_point = 11;
162 optional apollo.planning_internal.Trajectories partitioned_trajectories = 12;
163 optional apollo.planning_internal.Trajectories chosen_trajectory = 13;
164 optional bool is_fallback_trajectory = 14;
165 optional apollo.planning_internal.Trajectories fallback_trajectory = 15;
166 optional apollo.common.TrajectoryPoint trajectory_stitching_point = 16;
167 optional apollo.common.TrajectoryPoint future_collision_point = 17;
168 optional double time_latency = 18 [default = 0.0]; // ms
169 optional apollo.common.PointENU origin_point = 19; // meter
170 optional double origin_heading_rad = 20;
171}
172
175 SMOOTHER_NONE = 1;
176 SMOOTHER_CLOSE_STOP = 2;
177 }
178 optional bool is_smoothed = 1;
179
180 optional SmootherType type = 2 [default = SMOOTHER_NONE];
181 optional string reason = 3;
182}
183
185 optional apollo.common.PointENU position = 1;
186 optional double theta = 2;
187 optional double length_front = 3;
188 optional double length_back = 4;
189 optional double width_left = 5;
190 optional double width_right = 6;
191}
192
193// next ID: 30
195 // input
196 optional apollo.localization.LocalizationEstimate adc_position = 7;
197 optional apollo.canbus.Chassis chassis = 8;
198 optional apollo.routing.RoutingResponse routing = 9;
199 optional apollo.common.TrajectoryPoint init_point = 10;
200
201 repeated apollo.common.Path path = 6;
202
203 repeated SpeedPlan speed_plan = 13;
204 repeated STGraphDebug st_graph = 14;
205 repeated SLFrameDebug sl_frame = 15;
206
207 optional apollo.common.Header prediction_header = 16;
208 optional SignalLightDebug signal_light = 17;
209
210 repeated ObstacleDebug obstacle = 18;
211 repeated ReferenceLineDebug reference_line = 19;
212 optional DpPolyGraphDebug dp_poly_graph = 20;
213 optional LatticeStTraining lattice_st_image = 21;
214 optional apollo.relative_map.MapMsg relative_map = 22;
215 optional AutoTuningTrainingData auto_tuning_training_data = 23;
216 optional double front_clear_distance = 24;
217 repeated apollo.dreamview.Chart chart = 25;
218 optional ScenarioDebug scenario = 26;
219 optional OpenSpaceDebug open_space = 27;
220 optional SmootherDebug smoother = 28;
221 optional PullOverDebug pull_over = 29;
222 optional HybridModelDebug hybrid_model = 30;
223}
224
226 optional int32 s = 1;
227 optional int32 t = 2;
228 optional uint32 r = 3;
229 optional uint32 g = 4;
230 optional uint32 b = 5;
231}
232
234 repeated LatticeStPixel pixel = 1;
235 optional double timestamp = 2;
236 optional string annotation = 3;
237 optional uint32 num_s_grids = 4;
238 optional uint32 num_t_grids = 5;
239 optional double s_resolution = 6;
240 optional double t_resolution = 7;
241}
242
244 repeated double cost_component = 1;
245}
246
248 optional CostComponents teacher_component = 1;
249 optional CostComponents student_component = 2;
250}
251
253 repeated apollo.routing.LaneSegment lane_segment = 1;
254}
255
259
261 repeated apollo.common.Path segment = 1;
262}
263
265 optional bool using_learning_model_output = 1 [default = false];
266 optional double learning_model_output_usage_ratio = 2;
267 optional string learning_model_output_fail_reason = 3;
268 optional apollo.common.Path evaluated_path_reference = 4;
269}
apollo::canbus
apollo::common
apollo::dreamview
Definition chart.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