prediction_gflags.h 4.0 KB
Newer Older
D
Dong Li 已提交
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
/******************************************************************************
 * Copyright 2017 The Apollo Authors. All Rights Reserved.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *****************************************************************************/

Z
Zhang Liangliang 已提交
17 18
#ifndef MODULES_PREDICTION_COMMON_PREDICTION_GFLAGS_H_
#define MODULES_PREDICTION_COMMON_PREDICTION_GFLAGS_H_
D
Dong Li 已提交
19 20 21 22 23

#include "gflags/gflags.h"

// System gflags
DECLARE_string(prediction_module_name);
C
Calvin Miao 已提交
24
DECLARE_string(prediction_conf_file);
S
siyangy 已提交
25
DECLARE_string(prediction_adapter_config_filename);
26
DECLARE_string(prediction_data_dir);
D
Dong Li 已提交
27

28 29 30
DECLARE_bool(prediction_test_mode);
DECLARE_double(prediction_test_duration);

31
DECLARE_bool(prediction_offline_mode);
32
DECLARE_string(prediction_offline_bags);
33

34
DECLARE_double(prediction_duration);
35
DECLARE_double(prediction_period);
K
kechxu 已提交
36
DECLARE_double(double_precision);
37
DECLARE_double(min_prediction_length);
38

39 40 41
// Bag replay timestamp gap
DECLARE_double(replay_timestamp_gap);

42
// Map
43
DECLARE_double(lane_search_radius);
K
kechxu 已提交
44
DECLARE_double(lane_search_radius_in_junction);
45
DECLARE_double(junction_search_radius);
46 47 48

// Obstacle features
DECLARE_bool(enable_kf_tracking);
K
kechxu 已提交
49 50
DECLARE_double(max_acc);
DECLARE_double(min_acc);
51
DECLARE_double(max_speed);
K
kechxu 已提交
52 53 54
DECLARE_double(q_var);
DECLARE_double(r_var);
DECLARE_double(p_var);
K
kechxu 已提交
55
DECLARE_double(go_approach_rate);
D
Dong Li 已提交
56

K
kechxu 已提交
57 58
DECLARE_int32(min_still_obstacle_history_length);
DECLARE_int32(max_still_obstacle_history_length);
59
DECLARE_double(still_obstacle_speed_threshold);
60
DECLARE_double(still_pedestrian_speed_threshold);
D
Dong Li 已提交
61
DECLARE_double(still_obstacle_position_std);
62
DECLARE_double(still_pedestrian_position_std);
K
kechxu 已提交
63
DECLARE_double(max_history_time);
64
DECLARE_double(target_lane_gap);
65 66
DECLARE_int32(max_num_current_lane);
DECLARE_int32(max_num_nearby_lane);
K
kechxu 已提交
67
DECLARE_double(max_lane_angle_diff);
K
kechxu 已提交
68 69 70
DECLARE_int32(max_num_current_lane_in_junction);
DECLARE_int32(max_num_nearby_lane_in_junction);
DECLARE_double(max_lane_angle_diff_in_junction);
71
DECLARE_bool(enable_pedestrian_acc);
72
DECLARE_double(coeff_mul_sigma);
73 74
DECLARE_double(pedestrian_max_speed);
DECLARE_double(pedestrian_max_acc);
K
kechxu 已提交
75
DECLARE_double(prediction_pedestrian_total_time);
K
kechxu 已提交
76
DECLARE_double(still_speed);
C
Calvin Miao 已提交
77 78
DECLARE_string(evaluator_vehicle_mlp_file);
DECLARE_string(evaluator_vehicle_rnn_file);
79
DECLARE_int32(max_num_obstacles);
C
Calvin Miao 已提交
80
DECLARE_double(valid_position_diff_threshold);
81
DECLARE_double(valid_position_diff_rate_threshold);
K
kechxu 已提交
82
DECLARE_double(split_rate);
C
Calvin Miao 已提交
83
DECLARE_double(rnn_min_lane_relatice_s);
84 85
DECLARE_bool(adjust_velocity_by_obstacle_heading);
DECLARE_bool(adjust_velocity_by_position_shift);
86
DECLARE_double(heading_filter_param);
87
DECLARE_uint32(max_num_lane_point);
C
Calvin Miao 已提交
88

89 90
// Validation checker
DECLARE_double(centripetal_acc_coeff);
K
kechxu 已提交
91

92 93
// Obstacle trajectory
DECLARE_double(lane_sequence_threshold);
94
DECLARE_double(lane_change_dist);
C
Calvin Miao 已提交
95
DECLARE_bool(enable_lane_sequence_acc);
96
DECLARE_bool(enable_trim_prediction_trajectory);
97
DECLARE_bool(enable_trajectory_validation_check);
98
DECLARE_double(distance_beyond_junction);
99
DECLARE_double(adc_trajectory_search_length);
100
DECLARE_double(virtual_lane_radius);
101
DECLARE_double(default_lateral_approach_speed);
102
DECLARE_double(centripedal_acc_threshold);
103

104 105 106 107 108
// move sequence prediction
DECLARE_double(time_upper_bound_to_lane_center);
DECLARE_double(time_lower_bound_to_lane_center);
DECLARE_double(sample_time_gap);
DECLARE_double(cost_alpha);
109
DECLARE_double(default_time_to_lat_end_state);
110 111 112 113
DECLARE_double(turning_curvature_lower_bound);
DECLARE_double(turning_curvature_upper_bound);
DECLARE_double(speed_at_lower_curvature);
DECLARE_double(speed_at_upper_curvature);
114

Z
Zhang Liangliang 已提交
115
#endif  // MODULES_PREDICTION_COMMON_PREDICTION_GFLAGS_H_