Apollo 10.0
自动驾驶开放平台
control_gflags.h
浏览该文件的文档.
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
17#pragma once
18
19#include "gflags/gflags.h"
20// controller pipeline file path
21DECLARE_string(pipeline_file);
22// data file
23DECLARE_string(control_conf_file);
24// mpc controller conf file
25DECLARE_string(mpc_controller_conf_file);
26// lateral controller conf file
27DECLARE_string(lateral_controller_conf_file);
28// longitudinal controller conf file
29DECLARE_string(longitudinal_controller_conf_file);
30// calibration table
31DECLARE_string(calibration_table_file);
32
33DECLARE_double(control_test_duration);
34
35DECLARE_bool(enable_csv_debug);
36
37DECLARE_string(preprocessor_submodule_name);
38DECLARE_string(mpc_controller_submodule_name);
39DECLARE_string(lat_lon_controller_submodule_name);
40DECLARE_string(postprocessor_submodule_name);
41
42DECLARE_bool(is_control_test_mode);
43DECLARE_bool(use_preview_speed_for_table);
44
45DECLARE_double(steer_angle_rate);
46DECLARE_bool(enable_gain_scheduler);
47DECLARE_bool(set_steer_limit);
48
49DECLARE_int32(chassis_pending_queue_size);
50DECLARE_int32(planning_pending_queue_size);
51DECLARE_int32(localization_pending_queue_size);
52DECLARE_int32(pad_msg_pending_queue_size);
53
54DECLARE_bool(reverse_heading_control);
55
56DECLARE_bool(query_forward_time_point_only);
57
58DECLARE_bool(enable_gear_drive_negative_speed_protection);
59
60DECLARE_bool(use_control_submodules);
61
62DECLARE_bool(enable_input_timestamp_check);
63
64DECLARE_int32(max_localization_miss_num);
65
66DECLARE_int32(max_chassis_miss_num);
67
68DECLARE_int32(max_planning_miss_num);
69
70DECLARE_int32(planning_status_msg_pending_queue_size);
71
72DECLARE_double(max_acceleration_when_stopped);
73
74DECLARE_double(max_path_remain_when_stopped);
75
76DECLARE_bool(enable_persistent_estop);
77
78DECLARE_double(control_period);
79
80DECLARE_double(soft_estop_brake);
81
82DECLARE_double(trajectory_period);
83
84DECLARE_double(chassis_period);
85
86DECLARE_double(localization_period);
87
88DECLARE_double(minimum_speed_resolution);
89
90DECLARE_double(minimum_speed_protection);
91
92// 0: stop, at first should stop, then receive pad msg to start
94
95DECLARE_bool(use_vehicle_epb);
96
97DECLARE_double(pitch_offset_deg);
98
99DECLARE_bool(is_control_ut_test_mode);
100
101DECLARE_bool(publish_control_debug_info);
102
103DECLARE_bool(query_forward_station_point_only);
104
105DECLARE_bool(use_speed_filter);
106
107DECLARE_bool(use_throttle_filter);
108
109DECLARE_double(speed_smoothing_factor);
110
111DECLARE_double(throttle_smoothing_factor);
112
113DECLARE_bool(use_calibration_dimension_equal_check);
DECLARE_double(control_test_duration)
DECLARE_bool(enable_csv_debug)
DECLARE_string(pipeline_file)
DECLARE_int32(chassis_pending_queue_size)