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