Apollo 11.0
自动驾驶开放平台
planning_gflags.cc
浏览该文件的文档.
1/******************************************************************************
2 * Copyright 2017 The Apollo Authors. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *****************************************************************************/
16
18
19#include <limits>
20
21DEFINE_int32(planning_loop_rate, 10, "Loop rate for planning node");
22
23DEFINE_int32(history_max_record_num, 5,
24 "the number of planning history frame to keep");
25DEFINE_int32(max_frame_history_num, 1, "The maximum history frame number");
26
27DEFINE_bool(enable_scenario_side_pass_multiple_parked_obstacles, true,
28 "enable ADC to side-pass multiple parked obstacles without"
29 "worrying if the obstacles are blocked by others.");
30
31DEFINE_bool(enable_force_pull_over_open_space_parking_test, false,
32 "enable force_pull_over_open_space_parking_test");
33
35 traffic_rule_config_filename,
36 "modules/planning/planning_component/conf/traffic_rule_config.pb.txt",
37 "Traffic rule config filename");
38
39DEFINE_string(smoother_config_filename,
40 "/apollo/modules/planning/planning_component/conf/"
41 "qp_spline_smoother_config.pb.txt",
42 "The configuration file for qp_spline smoother");
43
44DEFINE_string(rtk_trajectory_filename,
45 "modules/planning/planning_base/data/garage.csv",
46 "Loop rate for planning node");
47
48DEFINE_uint64(rtk_trajectory_forward, 800,
49 "The number of points to be included in RTK trajectory "
50 "after the matched point");
51
52DEFINE_double(rtk_trajectory_resolution, 0.01,
53 "The time resolution of output trajectory for rtk planner.");
54
55DEFINE_string(planner_config_path,
56 "modules/planning/planning_component/conf/"
57 "public_road_planner_config.pb.txt",
58 "The configuration for planner.");
59
60DEFINE_bool(publish_estop, false, "publish estop decision in planning");
61DEFINE_bool(enable_trajectory_stitcher, true, "enable stitching trajectory");
62
63DEFINE_bool(enable_reference_line_stitching, true,
64 "Enable stitching reference line, which can reducing computing "
65 "time and improve stability");
66DEFINE_double(look_forward_extend_distance, 50,
67 "The step size when extending reference line.");
68DEFINE_double(reference_line_stitch_overlap_distance, 20,
69 "The overlap distance with the existing reference line when "
70 "stitching the existing reference line");
71
72DEFINE_bool(enable_smooth_reference_line, true,
73 "enable smooth the map reference line");
74
75DEFINE_bool(prioritize_change_lane, false,
76 "change lane strategy has higher priority, always use a valid "
77 "change lane path if such path exists");
78DEFINE_double(change_lane_min_length, 30.0,
79 "meters. If the change lane target has longer length than this "
80 "threshold, it can shortcut the default lane.");
81
82DEFINE_bool(enable_reference_line_provider_thread, true,
83 "Enable reference line provider thread.");
84
85DEFINE_double(default_reference_line_width, 4.0,
86 "Default reference line width");
87
88DEFINE_double(smoothed_reference_line_max_diff, 5.0,
89 "Maximum position difference between the smoothed and the raw "
90 "reference lines.");
91
92DEFINE_double(reference_line_endpoint_extend_length, 10.0,
93 "Extended length of reference line endpoint");
94
95DEFINE_double(planning_upper_speed_limit, 31.3,
96 "Maximum speed (m/s) in planning.");
97
98DEFINE_double(trajectory_time_length, 8.0, "Trajectory time length");
99
100// planning trajectory output time density control
102 trajectory_time_min_interval, 0.02,
103 "(seconds) Trajectory time interval when publish. The is the min value.");
105 trajectory_time_max_interval, 0.1,
106 "(seconds) Trajectory time interval when publish. The is the max value.");
108 trajectory_time_high_density_period, 1.0,
109 "(seconds) Keep high density in the next this amount of seconds. ");
110
111DEFINE_bool(enable_trajectory_check, false,
112 "Enable sanity check for planning trajectory.");
113
114DEFINE_double(speed_lower_bound, -0.1, "The lowest speed allowed.");
115DEFINE_double(speed_upper_bound, 40.0, "The highest speed allowed.");
116
117DEFINE_double(longitudinal_acceleration_lower_bound, -6.0,
118 "The lowest longitudinal acceleration allowed.");
119DEFINE_double(longitudinal_acceleration_upper_bound, 4.0,
120 "The highest longitudinal acceleration allowed.");
121DEFINE_double(lateral_acceleration_bound, 4.0,
122 "Bound of lateral acceleration; symmetric for left and right");
123
124DEFINE_double(longitudinal_jerk_lower_bound, -4.0,
125 "The lower bound of longitudinal jerk.");
126DEFINE_double(longitudinal_jerk_upper_bound, 2.0,
127 "The upper bound of longitudinal jerk.");
128DEFINE_double(lateral_jerk_bound, 4.0,
129 "Bound of lateral jerk; symmetric for left and right");
130
131DEFINE_double(kappa_bound, 0.1979, "The bound for trajectory curvature");
132
133// ST Boundary
134DEFINE_double(st_max_s, 100, "the maximum s of st boundary");
135DEFINE_double(st_max_t, 8, "the maximum t of st boundary");
136
137// Decision Part
138DEFINE_double(static_obstacle_nudge_l_buffer, 0.3,
139 "minimum l-distance to nudge a static obstacle (meters)");
140DEFINE_double(nonstatic_obstacle_nudge_l_buffer, 0.4,
141 "minimum l-distance to nudge a non-static obstacle (meters)");
142DEFINE_double(lateral_ignore_buffer, 3.0,
143 "If an obstacle's lateral distance is further away than this "
144 "distance, ignore it");
145DEFINE_double(max_stop_distance_obstacle, 10.0,
146 "max stop distance from in-lane obstacle (meters)");
147DEFINE_double(min_stop_distance_obstacle, 6.0,
148 "min stop distance from in-lane obstacle (meters)");
149DEFINE_double(follow_min_distance, 3.0,
150 "min follow distance for vehicles/bicycles/moving objects");
151DEFINE_double(yield_distance, 5.0,
152 "min yield distance for vehicles/moving objects "
153 "other than pedestrians/bicycles");
154DEFINE_double(follow_time_buffer, 2.5,
155 "time buffer in second to calculate the following distance.");
156DEFINE_double(signal_expire_time_sec, 5.0,
157 "traffic light signal info read expire time in sec");
158DEFINE_string(destination_obstacle_id, "DEST",
159 "obstacle id for converting destination to an obstacle");
160DEFINE_double(destination_check_distance, 5.0,
161 "if the distance between destination and ADC is less than this,"
162 " it is considered to reach destination");
163DEFINE_double(passed_destination_threshold, 0.05,
164 "check adc whether has passed destination");
165DEFINE_double(passed_referenceline_end_threshold, 1.5,
166 "check adc whether has passed reference line end");
167DEFINE_double(virtual_stop_wall_length, 0.1,
168 "virtual stop wall length (meters)");
169DEFINE_double(virtual_stop_wall_height, 2.0,
170 "virtual stop wall height (meters)");
171
172// Path Deciders
173DEFINE_bool(enable_skip_path_tasks, false,
174 "skip all path tasks and use trimmed previous path");
175DEFINE_double(obstacle_lat_buffer, 0.4,
176 "obstacle lateral buffer (meters) for deciding path boundaries");
177DEFINE_double(obstacle_lon_start_buffer, 3.0,
178 "obstacle longitudinal start buffer (meters) for deciding "
179 "path boundaries");
180DEFINE_double(obstacle_lon_end_buffer, 2.0,
181 "obstacle longitudinal end buffer (meters) for deciding "
182 "path boundaries");
183DEFINE_double(obstacle_lon_ignore_buffer, 0.0,
184 "obstacle longitudinal ignore buffer (meters) for deciding "
185 "backside obstacles");
186DEFINE_double(static_obstacle_speed_threshold, 0.5,
187 "The speed threshold to decide whether an obstacle is static "
188 "or not.");
189
190// Prediction Part
191DEFINE_double(prediction_total_time, 5.0, "Total prediction time");
192DEFINE_bool(align_prediction_time, false,
193 "enable align prediction data based planning time");
194
195// Trajectory
196
197// according to DMV's rule, turn signal should be on within 200 ft from
198// intersection.
200 turn_signal_distance, 100.00,
201 "In meters. If there is a turn within this distance, use turn signal");
202
203DEFINE_int32(trajectory_point_num_for_debug, 10,
204 "number of output trajectory points for debugging");
205
206// QpSt optimizer
207DEFINE_double(slowdown_profile_deceleration, -4.0,
208 "The deceleration to generate slowdown profile. unit: m/s^2.");
209
210DEFINE_double(speed_fallback_distance, 3.0,
211 "Distance to speed fallback. unit: m.");
213DEFINE_bool(use_multi_thread_to_add_obstacles, false,
214 "use multiple thread to add obstacles.");
215
217DEFINE_double(numerical_epsilon, 1e-6, "Epsilon in lattice planner.");
218DEFINE_double(default_cruise_speed, 5.0, "default cruise speed");
219DEFINE_double(trajectory_time_resolution, 0.1,
220 "Trajectory time resolution in planning");
221DEFINE_double(trajectory_space_resolution, 1.0,
222 "Trajectory space resolution in planning");
223DEFINE_double(speed_lon_decision_horizon, 200.0,
224 "Longitudinal horizon for speed decision making (meter)");
225DEFINE_uint64(num_velocity_sample, 6,
226 "The number of velocity samples in end condition sampler.");
227DEFINE_bool(enable_backup_trajectory, true,
228 "If generate backup trajectory when planning fail");
229DEFINE_double(backup_trajectory_cost, 1000.0,
230 "Default cost of backup trajectory");
231DEFINE_double(min_velocity_sample_gap, 1.0,
232 "Minimal sampling gap for velocity");
233DEFINE_double(lon_collision_buffer, 2.0,
234 "The longitudinal buffer to keep distance to other vehicles");
235DEFINE_double(lat_collision_buffer, 0.1,
236 "The lateral buffer to keep distance to other vehicles");
237DEFINE_uint64(num_sample_follow_per_timestamp, 3,
238 "The number of sample points for each timestamp to follow");
239
240// Lattice Evaluate Parameters
241DEFINE_double(weight_lon_objective, 10.0, "Weight of longitudinal travel cost");
242DEFINE_double(weight_lon_jerk, 1.0, "Weight of longitudinal jerk cost");
243DEFINE_double(weight_lon_collision, 5.0,
244 "Weight of longitudinal collision cost");
245DEFINE_double(weight_lat_offset, 2.0, "Weight of lateral offset cost");
246DEFINE_double(weight_lat_comfort, 10.0, "Weight of lateral comfort cost");
247DEFINE_double(weight_centripetal_acceleration, 1.5,
248 "Weight of centripetal acceleration");
249DEFINE_double(cost_non_priority_reference_line, 5.0,
250 "The cost of planning on non-priority reference line.");
251DEFINE_double(weight_same_side_offset, 1.0,
252 "Weight of same side lateral offset cost");
253DEFINE_double(weight_opposite_side_offset, 10.0,
254 "Weight of opposite side lateral offset cost");
255DEFINE_double(weight_dist_travelled, 10.0, "Weight of travelled distance cost");
256DEFINE_double(weight_target_speed, 1.0, "Weight of target speed cost");
257DEFINE_double(lat_offset_bound, 3.0, "The bound of lateral offset");
258DEFINE_double(lon_collision_yield_buffer, 1.0,
259 "Longitudinal collision buffer for yield");
260DEFINE_double(lon_collision_overtake_buffer, 5.0,
261 "Longitudinal collision buffer for overtake");
262DEFINE_double(lon_collision_cost_std, 0.5,
263 "The standard deviation of longitudinal collision cost function");
264DEFINE_double(default_lon_buffer, 5.0,
265 "Default longitudinal buffer to sample path-time points.");
266DEFINE_double(time_min_density, 1.0,
267 "Minimal time density to search sample points.");
268DEFINE_double(comfort_acceleration_factor, 0.5,
269 "Factor for comfort acceleration.");
270DEFINE_double(polynomial_minimal_param, 0.01,
271 "Minimal time parameter in polynomials.");
272DEFINE_double(lattice_stop_buffer, 0.02,
273 "The buffer before the stop s to check trajectories.");
274
275DEFINE_bool(lateral_optimization, true,
276 "whether using optimization for lateral trajectory generation");
277DEFINE_double(weight_lateral_offset, 1.0,
278 "weight for lateral offset "
279 "in lateral trajectory optimization");
280DEFINE_double(weight_lateral_derivative, 500.0,
281 "weight for lateral derivative "
282 "in lateral trajectory optimization");
283DEFINE_double(weight_lateral_second_order_derivative, 1000.0,
284 "weight for lateral second order derivative "
285 "in lateral trajectory optimization");
286DEFINE_double(weight_lateral_third_order_derivative, 1000.0,
287 "weight for lateral third order derivative "
288 "in lateral trajectory optimization");
290 weight_lateral_obstacle_distance, 0.0,
291 "weight for lateral obstacle distance in lateral trajectory optimization");
292DEFINE_double(lateral_third_order_derivative_max, 0.1,
293 "the maximal allowance for lateral third order derivative");
294DEFINE_double(max_s_lateral_optimization, 60.0,
295 "The maximal s for lateral optimization.");
296DEFINE_double(default_delta_s_lateral_optimization, 1.0,
297 "The default delta s for lateral optimization.");
298DEFINE_double(bound_buffer, 0.1, "buffer to boundary for lateral optimization");
299DEFINE_double(nudge_buffer, 0.3, "buffer to nudge for lateral optimization");
300
301DEFINE_double(fallback_total_time, 3.0, "total fallback trajectory time");
302DEFINE_double(fallback_time_unit, 0.1,
303 "fallback trajectory unit time in seconds");
304
305DEFINE_double(speed_bump_speed_limit, 4.4704,
306 "the speed limit when passing a speed bump, m/s. The default "
307 "speed limit is 10 mph.");
308DEFINE_double(default_city_road_speed_limit, 15.67,
309 "default speed limit (m/s) for city road. 35 mph.");
310DEFINE_double(default_highway_speed_limit, 29.06,
311 "default speed limit (m/s) for highway. 65 mph.");
312
313// navigation mode
314DEFINE_bool(enable_planning_pad_msg, false,
315 "To control whether to enable planning pad message.");
316
317// TODO(all): open space planner, merge with planning conf
318DEFINE_string(planner_open_space_config_filename,
319 "/apollo/modules/planning/planning_component/conf/"
320 "planner_open_space_config.pb.txt",
321 "The open space planner configuration file");
322
323DEFINE_bool(use_dual_variable_warm_start, true,
324 "whether or not enable dual variable warm start ");
325
327 enable_smoother_failsafe, false,
328 "whether to use warm start result as final output when smoother fails");
329
330DEFINE_bool(use_s_curve_speed_smooth, false,
331 "Whether use s-curve (piecewise_jerk) for smoothing Hybrid Astar "
332 "speed/acceleration.");
333
335 use_iterative_anchoring_smoother, false,
336 "Whether use iterative_anchoring_smoother for open space planning ");
337
339 enable_parallel_trajectory_smoothing, false,
340 "Whether to partition the trajectory first and do smoothing in parallel");
341
342DEFINE_double(path_speed_osqp_setting_time_limit, 0.09,
343 "Run time limit for OSQP in seconds.");
344DEFINE_bool(enable_osqp_debug, false,
345 "True to turn on OSQP verbose debug output in log.");
346
347DEFINE_bool(export_chart, false, "export chart in planning");
348DEFINE_bool(enable_record_debug, true,
349 "True to enable record debug info in chart format");
350DEFINE_bool(enable_print_curve, false,
351 "True to enable print curve info into log");
352
354 default_front_clear_distance, 300.0,
355 "default front clear distance value in case there is no obstacle around.");
356
357DEFINE_bool(enable_rss_info, true, "enable rss_info in trajectory_pb");
358
360 enable_planning_smoother, false,
361 "True to enable planning smoother among different planning cycles.");
362DEFINE_double(smoother_stop_distance, 10.0,
363 "(unit: meter) for ADC stop, if it is close to the stop point "
364 "within this threshold, current planning will be smoothed.");
365
366DEFINE_bool(enable_parallel_hybrid_a, false,
367 "True to enable hybrid a* parallel implementation.");
368
369DEFINE_double(message_latency_threshold, 0.02, "Threshold for message delay");
370
371DEFINE_uint64(trajectory_stitching_preserved_length, 20,
372 "preserved points number in trajectory stitching");
373
374DEFINE_double(side_pass_driving_width_l_buffer, 0.1,
375 "(unit: meter) for side pass driving width l buffer");
376
377DEFINE_bool(use_st_drivable_boundary, false,
378 "True to use st_drivable boundary in speed planning");
379
380DEFINE_bool(use_front_axe_center_in_path_planning, false,
381 "If using front axe center in path planning, the path can be "
382 "more agile.");
383
384DEFINE_bool(planning_offline_learning, false,
385 "offline learning. read record files and dump learning_data");
386DEFINE_string(planning_data_dir, "/apollo/modules/planning/planning_base/data/",
387 "Prefix of files to store feature data");
388DEFINE_string(planning_offline_bags, "",
389 "a list of source files or directories for offline mode. "
390 "The items need to be separated by colon ':'. ");
391DEFINE_int32(learning_data_obstacle_history_time_sec, 3.0,
392 "time sec (second) of history trajectory points for a obstacle");
393DEFINE_int32(learning_data_frame_num_per_file, 100,
394 "number of learning_data_frame to write out in one data file.");
395DEFINE_string(planning_birdview_img_feature_renderer_config_file,
396 "/apollo/modules/planning/planning_component/conf/"
397 "planning_semantic_map_config.pb.txt",
398 "config file for renderer singleton");
399
400DEFINE_int32(min_past_history_points_len, 0,
401 "minimun past history points length for trainsition from "
402 "rule-based planning to learning-based planning");
403
404// Parameter for scenario or task process.
405DEFINE_double(path_bounds_decider_resolution, 0.5,
406 "The distance along s direction.");
407DEFINE_double(path_bounds_horizon, 100, "path bounds horizon");
408DEFINE_double(num_extra_tail_bound_point, 20, "The extra tail point number.");
409DEFINE_bool(enable_pull_over_at_destination, false,
410 "Whether to pull over at destination");
411DEFINE_double(replan_lateral_distance_threshold, 0.5,
412 "The lateral distance threshold of replan");
413DEFINE_double(replan_longitudinal_distance_threshold, 2.5,
414 "The longitudinal distance threshold of replan");
415DEFINE_double(replan_time_threshold, 7.0, "The time threshold of replan");
416DEFINE_double(trajectory_check_collision_time_step, 1.0,
417 "checks collision time step for trajectory");
418
419DEFINE_double(obstacle_pass_check_distance, 3.0,
420 "at the distance, the obstacle goes around left or right"
421 "consider ego and obstacle position");
422
423DEFINE_bool(speed_optimize_fail_relax_velocity_constraint, true,
424 "When the speed optimization fails,"
425 "relax the speed upper bound constraint and try to optimize again");
426
427DEFINE_bool(check_collision_freespace_obstacle_vertices, false,
428 "Detect vehicle collisions with map projection obstacles");
429
431 near_stop_speed, 0.5,
432 "Set deceleration as near_stop_deceleration when vehicle speed is smaller "
433 "than this value before stopping so that control can keep up.");
434
436 near_stop_deceleration, -1.0,
437 "Set deceleration as near_stop_deceleration when vehicle deceleration is "
438 "smaller than this value before stopping so that control can keep up.");
439
441 reference_line_max_forward_heading_diff, 2.5,
442 "max angle difference between the forward reference line and ego heading");
443
445 reference_line_max_backward_heading_diff, 3.1415926536,
446 "max angle difference between the backward reference line and ego heading");
447
448// park generic
449DEFINE_double(sqp_obstacle_weight, 100, "sqp_obstacle_weight");
450
451DEFINE_bool(enable_obstacle_potential_field, true,
452 "enable_obstacle_potential_field");
453
454DEFINE_double(open_space_delta_t, 1.0,
455 "open space sample time for speed planning");
456
457DEFINE_double(open_space_acc_weight, 1.0,
458 "weight of open space acceleration in the cost function");
459
460DEFINE_double(open_space_jerk_weight, 10.0,
461 "weight of open space jerk in the cost function");
462
463DEFINE_double(open_space_kappa_weight, 1000.0,
464 "weight of open space kappa in the cost function");
465
466DEFINE_double(open_space_reference_s_weight, 10.0,
467 "weight of open space reference s in the cost function");
468
469DEFINE_double(open_space_reference_v_weight, 10.0,
470 "weight of open space reference v in the cost function");
471
472DEFINE_double(open_space_max_forward_v, 2.0,
473 "the max forward velocity for open space planning");
474
475DEFINE_double(open_space_max_reverse_v, 2.0,
476 "the max reverse velocity for open space planning");
477
478DEFINE_double(open_space_max_forward_acc, 3.0,
479 "the max forward acceleration for open space planning");
480
481DEFINE_double(open_space_max_reverse_acc, 2.0,
482 "the max reverse acceleration for open space planning");
483
484DEFINE_double(open_space_max_jerk, 4.0, "the max jerk for open space planning");
485
486// Nudge decisider
487DEFINE_bool(enable_nudge_decider, true, "Enable use nudge decider");
488DEFINE_double(max_nudge_check_distance_in_lk, 4.0,
489 "Max nudge check distance in kane keep path boundary decider");
490DEFINE_double(max_nudge_check_distance_in_lc, 3.0,
491 "Max nudge check distance in lane change path boundary decider");
492DEFINE_double(path_trim_destination_threshold, 20.0,
493 "Distance threshold to destination in path trim operation");
494
495// Edge follow buffer
496DEFINE_double(edge_follow_buffer, 0.3, "Edge follow buffer");
497DEFINE_bool(disable_perception_edge_info, false,
498 "Disable perception edge info");
499DEFINE_bool(enable_edge_follow_curvature_buffer, false,
500 "Enable add curvature buffer in edge follow map");
501DEFINE_bool(enable_smooth_edge_follow_buffer, false,
502 "Enable smooth edge follow buffer");
503DEFINE_bool(enable_print_edge_follow_log, false,
504 "Enable print edge follow log");
505
506DEFINE_double(normal_look_forward_short_distance, 180,
507 "normal look forward short distance in reference line");
508DEFINE_double(normal_look_forward_long_distance, 250,
509 "normal look forward long distance in reference line");
510DEFINE_double(normal_look_backward_distance, 50,
511 "normal look backward distance in reference line");
512DEFINE_double(edge_follow_look_forward_short_distance, 20,
513 "edge follow look forward short distance in reference line");
514DEFINE_double(edge_follow_look_forward_long_distance, 50,
515 "edge follow look forward long distance in reference line");
516DEFINE_double(edge_follow_look_backward_distance, 50,
517 "edge follow look backward distance in reference line");
518
519// lane escape
520DEFINE_bool(enable_lane_escape, true, "Enable lane escape");
521
522// zone cover
523DEFINE_bool(use_zigzag_type_path_lane, false,
524 "use arc type path when in zone cover stage");
525DEFINE_bool(change_end_pose, false, "change end pose when in zone cover stage");
526DEFINE_bool(calculate_next_trajectory, false,
527 "calculate next trajectory when in zone cover stage");
528DEFINE_bool(enable_non_drivablle_roi, false,
529 "enable non drivable roi when in zone cover stage");
530
531// for path easy solution
532DEFINE_double(ego_front_slack_buffer, 0.25,
533 "the lateral threshold to relaxing the solution space");
534DEFINE_double(relax_ego_radius_buffer, 10.0, "relax_ego_radius buffer");
535DEFINE_double(relax_path_s_threshold, 5.0, "relax path boundary s threshold");
536DEFINE_bool(enable_corner_constraint, false,
537 "enable use obstacle corner constraint");
538DEFINE_bool(enable_expand_obs_corner, false, "enable expand_obs_corner");
539DEFINE_double(expand_obs_corner_lon_buffer, 0.6,
540 "expand obs corner lon buffer");
541DEFINE_bool(enable_adc_vertex_constraint, false,
542 "enable use adc vertex constraint");
543DEFINE_double(obstacle_lon_end_buffer_park, 0.6,
544 "obstacle longitudinal end buffer (meters) for deciding "
545 "path boundaries");
546
547DEFINE_bool(enable_control_interactive_replan, true,
548 "enable replan with control interactive masg");
549
550DEFINE_int32(close_range_obstacle_nudge_range_remain_farmes, 5,
551 "remain the nudge range in frames");
552DEFINE_double(close_range_obstacle_nudge_pedestrian_waiting_time, 2.0,
553 "waiting time for pedestrians");
554
555DEFINE_double(path_obs_ref_shift_distance, 0.8,
556 "shift the reference to avoid obstacle for path");
557
558DEFINE_double(driving_state_nudge_check_l, 0.2,
559 "uudge lateral check threshold for the ego's driving status");
DEFINE_uint64(rtk_trajectory_forward, 800, "The number of points to be included in RTK trajectory " "after the matched point")
DEFINE_double(rtk_trajectory_resolution, 0.01, "The time resolution of output trajectory for rtk planner.")
DEFINE_string(traffic_rule_config_filename, "modules/planning/planning_component/conf/traffic_rule_config.pb.txt", "Traffic rule config filename")
DEFINE_bool(enable_scenario_side_pass_multiple_parked_obstacles, true, "enable ADC to side-pass multiple parked obstacles without" "worrying if the obstacles are blocked by others.")
DEFINE_int32(planning_loop_rate, 10, "Loop rate for planning node")