25 "Time length of predicted trajectory (in seconds)");
27 "Time resolution of predicted trajectory (in seconds");
29 "Minimal spatial length of predicted trajectory");
31 "If check the validity of prediction trajectory.");
33 "If enable prediction tracking adaptation");
35 "If freemove predict with accelerate");
38 "Upper bound of vehicle linear acceleration");
40 "Lower bound of vehicle linear deceleration");
45 "Max tracking time for disappear obstacles");
47 "Max tracking distance for disappear obstacles");
50DEFINE_double(lane_search_radius, 3.0,
"Search radius for a candidate lane");
52 "Search radius for a candidate lane");
53DEFINE_double(junction_search_radius, 1.0,
"Search radius for a junction");
55 "Radius to determine if pedestrian-like obstacle is near lane.");
57 "Maximal search depth for building road graph");
59 "Search radius for surrounding lanes.");
62DEFINE_double(base_image_half_range, 100.0,
"The half range of base image.");
64 "If draw adc trajectory in semantic map");
65DEFINE_bool(img_show_semantic_map,
false,
"If show the image of semantic map.");
70 "to junction to consider as junction scenario");
72 "If consider all junction with junction_mlp_model.");
74 "If true, then all pedestrian in front of ADC are marked caution.");
76 "Rank the caution-level obstacles.");
78 "Rank the interactive obstacles.");
80 "The max number of caution-level obstacles");
82 "Distance threshold for caution obstacles");
84 "The distance ahead to search caution-level obstacles");
86 "The distance backward to search caution-level obstacles");
88 "The distance backward to search caution-lebel obstacles "
89 "in the case of merging");
91 "The distance backward to search caution-lebel obstacles "
92 "in the case of overlap");
94 "The time for a pedestrian to approach adc trajectory");
96 "The max number of interactive obstacles");
98 "Distance threshold for interactive obstacles");
100 "The distance ahead to search interactive obstacles");
102 "The distance backward to search interactive obstacles");
104 "The distance backward to search interactive obstacles "
105 "in the case of merging");
107 "The distance backward to search interactive obstacles "
108 "in the case of overlap");
111DEFINE_int32(ego_vehicle_id, -1,
"The obstacle ID of the ego vehicle.");
115 "Backward distance to ignore pedestrians.");
117 "The number of historical frames of the obstacle"
118 "that the cruise model will look at.");
119DEFINE_bool(enable_kf_tracking,
false,
"Use measurements with KF tracking");
122 "The maximal angle diff to adjust velocity heading.");
127 "The rate to approach to the reference line of going straight");
129 "The rate to approach to the reference line of cutin");
132 "Min # historical frames for still obstacles");
134 "Min # historical frames for still obstacles");
136 "Speed threshold for still obstacles");
138 "Speed threshold for still pedestrians");
140 "Speed threshold for still unknown obstacles");
142 "Position standard deviation for still obstacles");
144 "Position standard deviation for still pedestrians");
146 "Position standard deviation for still unknown obstacles");
148 "Speed threshold for slow obstacles");
152 "Gap between two adjacent lane points"
153 " for constructing dense lane graph.");
154DEFINE_int32(max_num_current_lane, 2,
"Max number to search current lanes");
155DEFINE_int32(max_num_nearby_lane, 2,
"Max number to search nearby lanes");
157 "Max angle difference for a candidate lane");
159 "Max number to search current lanes");
161 "Max number to search nearby lanes");
163 "Max angle difference for a candidate lane");
164DEFINE_double(coeff_mul_sigma, 2.0,
"coefficient multiply standard deviation");
165DEFINE_double(pedestrian_max_speed, 10.0,
"speed upper bound for pedestrian");
169 "modules/prediction/data/mlp_vehicle_model.bin",
170 "mlp model file for vehicle evaluator");
172 "modules/prediction/data/rnn_vehicle_model.bin",
173 "rnn model file for vehicle evaluator");
175 torch_vehicle_jointly_model_file,
176 "modules/prediction/data/"
177 "jointly_prediction_planning_vehicle_model.pt",
178 "Vehicle jointly prediction and planning model file");
180 torch_vehicle_jointly_model_cpu_file,
181 "modules/prediction/data/"
182 "jointly_prediction_planning_vehicle_cpu_model.pt",
183 "Vehicle jointly prediction and planning cpu model file");
185 "modules/prediction/data/junction_mlp_vehicle_model.pt",
186 "Vehicle junction MLP model file");
188 "modules/prediction/data/junction_map_vehicle_model.pt",
189 "Vehicle junction map model file");
191 "modules/prediction/data/semantic_lstm_vehicle_model.pt",
192 "Vehicle semantic lstm model file, default for gpu");
194 torch_vehicle_semantic_lstm_cpu_file,
195 "modules/prediction/data/semantic_lstm_vehicle_cpu_model.pt",
196 "Vehicle semantic lstm cpu model file");
198 "modules/prediction/data/cruise_go_vehicle_model.pt",
199 "Vehicle cruise go model file");
201 "modules/prediction/data/cruise_cutin_vehicle_model.pt",
202 "Vehicle cruise cutin model file");
204 "modules/prediction/data/lane_scanning_vehicle_model.pt",
205 "Vehicle lane scanning model file");
207 "modules/prediction/data/vectornet_vehicle_model.pt",
208 "Vehicle vectornet model file");
210 "modules/prediction/data/vectornet_vehicle_cpu_model.pt",
211 "Vehicle vectornet cpu model file");
213 "modules/prediction/data/"
214 "pedestrian_interaction_position_embedding.pt",
215 "pedestrian interaction position embedding");
217 "modules/prediction/data/"
218 "pedestrian_interaction_social_embedding.pt",
219 "pedestrian interaction social embedding");
221 "modules/prediction/data/"
222 "pedestrian_interaction_single_lstm.pt",
223 "pedestrian interaction single lstm");
225 "modules/prediction/data/"
226 "pedestrian_interaction_prediction_layer.pt",
227 "pedestrian interaction prediction layer");
229 torch_pedestrian_semantic_lstm_file,
230 "modules/prediction/data/semantic_lstm_pedestrian_model.pt",
231 "Pedestrian semantic lstm model file, default for gpu");
233 torch_pedestrian_semantic_lstm_cpu_file,
234 "modules/prediction/data/semantic_lstm_pedestrian_cpu_model.pt",
235 "Pedestrian semantic lstm cpu model file");
237 "modules/prediction/data/"
238 "traced_online_obs_enc.pt",
239 "lane aggregating obstacle encoding layer");
241 "modules/prediction/data/"
242 "traced_online_lane_enc.pt",
243 "lane aggregating lane encoding layer");
245 "modules/prediction/data/"
246 "traced_online_pred_layer.pt",
247 "lane aggregating prediction layer");
249 "maximal number of obstacles stored in obstacles container.");
251 "threshold of valid position difference");
253 "threshold of valid position difference rate");
254DEFINE_double(split_rate, 0.5,
"obstacle split rate for adjusting velocity");
256 "Minimal relative s for RNN model.");
258 "Use obstacle heading for velocity.");
260 "adjust velocity heading to lane heading");
262 "adjust vehicle heading by lane");
265 "The maximal number of lane points to store");
267 "Threshold of distance to junction exit");
269 "Threshold of angle to junction exit");
271 "The sample size to compute average lane curvature");
275 "Coefficient of centripetal acceleration probability");
279 "The number of historical frames of the obstacle"
280 "that the junction model will look at.");
282 "If a lane extends out of the junction by this value,"
283 "consider it as an exit_lane.");
285 "If the obstacle is in junction more than this threshold,"
286 "consider it in junction.");
288 "Default value for the range of a junction.");
290 "The distance to slow down at stop sign");
294 "Default value of time to lane center of not reach.");
296 "The number of cv mat pool size.");
298 "The number of torch model warm up times.");
300 "The default s value if no obstacle in the lane sequence.");
302 "The default l value if no obstacle in the lane sequence.");
303DEFINE_bool(enable_semantic_map,
true,
"If enable semantic map on prediction");
307 "If enable using regression in cruise model");
309 "Threshold for trimming lane sequence trajectories in cruise");
311 "Threshold for trimming lane sequence trajectories in junction");
314 "If use acceleration in lane sequence.");
316 "If trim the prediction trajectory to avoid crossing"
317 "protected adc planning trajectory.");
319 "How far to search junction along adc planning trajectory");
322 "Default lateral speed approaching to center of lane");
324 "Threshold of centripedal acceleration.");
328 "Upper bound of time to get to the lane center");
330 "Lower bound of time to get to the lane center");
332 "Gap of time to sample time to get to the lane center");
334 "The coefficient of lateral acceleration in cost function");
336 "The default time to lane center");
338 "The curvature lower bound of turning lane");
340 "The curvature upper bound of turning lane");
342 "The speed at turning lane with lower bound curvature");
344 "The speed at turning lane with upper bound curvature");
346 "alpha of the cost function for best trajectory selection,"
347 "alpha weighs the influence by max lateral acceleration"
348 "and that by the total time. The larger alpha gets, the"
349 "more cost function values trajectory with shorter times,"
352 "This is the sigma for the bell curve that is used by"
353 "the cost function in move-sequence-trajectory-predictor."
354 "The bell curve has its average equal to the time to cross"
355 "lane predicted by the model.");
357 "Whether to use bell curve for the cost function or not.");
361 "Whether to set interactive tag for obstacles.");
363 "The time resolution used to compute the collision cost");
365 "The weight of longitudinal acceleration cost");
367 "The weight of the cost related to centripedal acceleration");
369 "The weight of the cost related to collision");
371 "The coefficient in the collision exponential cost function");
373 "The coefficient in the likelihood exponential function");
376 "The threshold for distance to ego/neighbor lane "
377 "in feature extraction");
380 "The threshold for distance to ego/neighbor lane "
381 "in feature extraction");
385 "The threshold of distance in on-lane situation");
DEFINE_double(double_precision, 1e-6, "precision of double")
DEFINE_uint64(cruise_historical_frame_length, 5, "The number of historical frames of the obstacle" "that the cruise model will look at.")
DEFINE_bool(enable_trajectory_validation_check, false, "If check the validity of prediction trajectory.")
DEFINE_int32(road_graph_max_search_horizon, 20, "Maximal search depth for building road graph")
DEFINE_uint32(sample_size_for_average_lane_curvature, 10, "The sample size to compute average lane curvature")
DEFINE_string(evaluator_vehicle_mlp_file, "modules/prediction/data/mlp_vehicle_model.bin", "mlp model file for vehicle evaluator")