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

26 27
DECLARE_double(prediction_duration);
DECLARE_double(prediction_freq);
K
kechxu 已提交
28
DECLARE_double(double_precision);
29 30 31 32 33 34 35 36
DECLARE_double(max_prediction_length);

// Map
DECLARE_string(map_file);
DECLARE_double(search_radius);

// Obstacle features
DECLARE_bool(enable_kf_tracking);
K
kechxu 已提交
37 38
DECLARE_double(max_acc);
DECLARE_double(min_acc);
39
DECLARE_double(max_speed);
K
kechxu 已提交
40 41 42
DECLARE_double(q_var);
DECLARE_double(r_var);
DECLARE_double(p_var);
K
kechxu 已提交
43 44
DECLARE_double(go_approach_rate);
DECLARE_double(cutin_approach_rate);
45 46
DECLARE_int32(still_obstacle_history_length);
DECLARE_double(still_obstacle_speed_threshold);
D
Dong Li 已提交
47
DECLARE_double(still_obstacle_position_std);
K
kechxu 已提交
48
DECLARE_double(max_history_time);
49
DECLARE_double(target_lane_gap);
K
kechxu 已提交
50
DECLARE_double(max_lane_angle_diff);
K
kechxu 已提交
51

52 53 54
// Obstacle trajectory
DECLARE_double(lane_sequence_threshold);

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