prediction_gflags.h 3.3 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);
D
Dong Li 已提交
26

27 28
DECLARE_double(prediction_duration);
DECLARE_double(prediction_freq);
K
kechxu 已提交
29
DECLARE_double(double_precision);
30
DECLARE_double(min_prediction_length);
31

32 33 34
// Bag replay timestamp gap
DECLARE_double(replay_timestamp_gap);

35 36 37 38 39
// Map
DECLARE_double(search_radius);

// Obstacle features
DECLARE_bool(enable_kf_tracking);
K
kechxu 已提交
40 41
DECLARE_double(max_acc);
DECLARE_double(min_acc);
42
DECLARE_double(max_speed);
K
kechxu 已提交
43 44 45
DECLARE_double(q_var);
DECLARE_double(r_var);
DECLARE_double(p_var);
K
kechxu 已提交
46 47
DECLARE_double(go_approach_rate);
DECLARE_double(cutin_approach_rate);
48 49
DECLARE_int32(still_obstacle_history_length);
DECLARE_double(still_obstacle_speed_threshold);
D
Dong Li 已提交
50
DECLARE_double(still_obstacle_position_std);
K
kechxu 已提交
51
DECLARE_double(max_history_time);
52
DECLARE_double(target_lane_gap);
K
kechxu 已提交
53
DECLARE_double(max_lane_angle_diff);
54
DECLARE_bool(enable_pedestrian_acc);
55
DECLARE_double(coeff_mul_sigma);
K
kechxu 已提交
56
DECLARE_double(pedestrian_min_speed);
57 58
DECLARE_double(pedestrian_max_speed);
DECLARE_double(pedestrian_max_acc);
K
kechxu 已提交
59
DECLARE_double(prediction_pedestrian_total_time);
K
kechxu 已提交
60
DECLARE_double(still_speed);
C
Calvin Miao 已提交
61 62
DECLARE_string(evaluator_vehicle_mlp_file);
DECLARE_string(evaluator_vehicle_rnn_file);
63
DECLARE_int32(max_num_obstacles);
64 65
DECLARE_bool(enable_adjust_velocity_heading);
DECLARE_double(heading_diff_thred);
K
kechxu 已提交
66
DECLARE_double(valid_position_diff_thred);
K
kechxu 已提交
67

C
Calvin Miao 已提交
68 69
// evaluator
DECLARE_double(rnn_min_lane_relatice_s);
70
DECLARE_double(perception_confidence_threshold);
71
DECLARE_bool(enable_rnn_acc);
C
Calvin Miao 已提交
72

73 74
// Obstacle trajectory
DECLARE_double(lane_sequence_threshold);
75
DECLARE_double(lane_change_dist);
C
Calvin Miao 已提交
76
DECLARE_bool(enable_lane_sequence_acc);
77 78 79 80
DECLARE_bool(enable_trim_prediction_trajectory);
DECLARE_double(adc_time_step);
DECLARE_double(distance_to_adc_trajectory_thred);
DECLARE_double(time_to_adc_trajectory_thred);
81
DECLARE_double(junction_distance_thred);
82
DECLARE_double(ahead_junction_thred);
83 84
DECLARE_double(adc_trajectory_search_length);
DECLARE_double(junction_search_radius);
85

86 87 88 89 90 91 92 93 94 95
// 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(motion_weight_a);
DECLARE_double(motion_weight_b);
DECLARE_double(motion_weight_c);
DECLARE_double(cost_alpha);
DECLARE_double(default_time_to_lane_center);

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