Apollo 11.0
自动驾驶开放平台
lon_based_pid_plus_controller_conf.proto
浏览该文件的文档.
1syntax = "proto2";
2
5
6package apollo.control;
7
9 optional int32 cutoff_freq = 1;
10}
11
12message LonBasedPidPlusControllerConf{
13 // longitudinal controller sampling time
14 optional double ts = 1 [default = 0.01];
15 // min brake cmd
16 optional double brake_minimum_action = 2 [default = 0.0];
17 // min throttle cmd
18 optional double throttle_minimum_action = 3 [default = 0.0];
19 // speed pid controller input max
20 optional double speed_controller_input_limit = 4 [default = 2.5];
21 // station pid controller input max
22 optional double station_error_limit = 5 [default = 2.5];
23 // preview time window
24 optional double preview_window = 6 [default = 20.0];
25 // dec when full stop
26 optional double standstill_acceleration = 7 [default = -3.0];
27 // dec when full stop soft
28 optional double standstill_narmal_acceleration = 8 [default = -1.0];
29 // dec when full stop exceed path remian distance
30 optional double stop_gain_acceleration = 9 [default = -1.0];
31
32 // station pid config
33 optional PidPlusConf station_pid_conf = 10;
34 // speed pid config
35 optional PidPlusConf speed_pid_conf = 11;
36
37 // pitch angle filter config
38 optional PlusFilterConf pitch_angle_filter_conf = 12;
39
40 // station leadlag config
41 optional LeadlagConf station_leadlag_conf = 13;
42 // speed leadlag config
43 optional LeadlagConf speed_leadlag_conf = 14;
44 // swith to enable reverse leadlag control
45 optional bool enable_reverse_leadlag_compensation = 15 [default = false];
46
47 // switch to enable speed station preview
48 optional bool enable_speed_station_preview = 16 [default = false];
49 // switch to enable acc slope offset compensation
50 optional bool enable_slope_offset = 17 [default = false];
51 // switch to enable acceleration lookup max
52 optional bool use_acceleration_lookup_limit = 18 [default = false];
53 // switch to enable preview reference check
54 optional bool use_preview_reference_check = 19 [default = false];
55
56 // max interval between steer cmd and chassis steering percentage
57 optional double steer_cmd_interval = 20 [default = 100.0];
58 // switch to enable steering check
59 optional bool use_steering_check = 21 [default = false];
60
61 // wait time when pedestrian stop to decide to epb brake
62 optional double pedestrian_stop_time = 22 [default = 10.0];
63 // wait time when in destination to decide to epb brake
64 optional double full_stop_long_time = 23 [default = 300.0];
65
66 // check time in overtake pit
67 optional double pit_replan_check_time = 24 [default = 14.0];
68 // check count in overtake pit
69 optional int32 pit_replan_check_count = 25 [default = 3];
70
71 // epb signal time count
72 optional int32 epb_change_count = 26 [default = 2];
73 // switch to enable vehicle epb, not use instead of gflag
74 optional bool use_vehicle_epb = 27 [deprecated = true];
75
76 optional double speed_threshold_in_backslip = 28 [deprecated = true];
77 optional double backslip_check_min_pitch = 29 [deprecated = true];
78 optional double speed_threshold_out_backslip = 30 [deprecated = true];
79 optional double min_dec_hold_on_slope = 31 [deprecated = true];
80
81 repeated double pitch_segment = 32 [deprecated = true];
82 repeated double dec_prepare_change_rate = 33 [deprecated = true];
83
84 optional double min_dec_rate_in_stop_ctrl = 34 [deprecated = true];
85 optional double dec_ctrl_rate_antislip = 35 [deprecated = true];
86 optional double speed_diff_threshold_enter_stop = 36 [deprecated = true];
87 optional double max_dec_rate_in_stop_ctrl = 37 [deprecated = true];
88 optional double speed_threshold_enter_stop = 38 [deprecated = true];
89 optional double dec_addition_speed_error = 39 [deprecated = true];
90 optional double dec_addition_station_error = 40 [deprecated = true];
91 optional double dec_addition_hold_on_slope = 41 [deprecated = true];
92 optional bool use_new_fullstop = 42 [deprecated = true];
93
94 // when car goes into fullstop,the path remain will be added to avoid unfullstop
95 optional double full_stop_path_remain_gain = 43;
96 // switch to enable opposite slope angle
97 optional int32 use_opposite_slope_compensation = 44 [default = 1];
98 // switch to enable overtake pit
99 optional bool use_check_pit = 45 [default = false];
100 // simulate epb brake cmd
101 optional double epb_brake = 46 [default = 60.0];
102 optional double emergency_quit_fullstop_minspeed = 47 [deprecated = true];
103
104 //if the dcc is smaller than this,the car will not enter fullstop function
105 optional double emergency_quit_fullstop_mindec = 48 [default = -3.0];
106 // path distance from current vehicle position to planning destination
107 optional double path_remain = 49 [default = 0.2];
108
109 // the car will not enter fullstop when speed is over release_end_brake_speed
110 optional double release_end_brake_speed = 50 [default = 2.0];
111 // the brake cmd will rise in the fullstop_window
112 optional int32 fullstop_window = 51 [default = 200];
113 // if the path remain is over fullstop_pathremain, the fullstop function will not be used
114 optional double fullstop_pathremain = 52 [default = 2.0];
115 // the brake cmd will be added aditionally when station error is less than 0
116 optional double full_stop_station_err_rate = 53 [default = 1.0];
117 // the fullstop max brake will change due to the pitch
118 optional double full_stop_pitch_brake_param = 54 [default = 150];
119 // max brake cmd in full stop
120 optional double full_stop_max_brake = 55 [default = 20.0];
121 // the fullstop window will change due to the pitch
122 optional double full_stop_pitch_window_param = 56 [default = 300];
123 // the brake cmd will change no more than this rate every control ts when in fullstop condition
124 optional double max_brk_downhill_change_rate = 57 [default = 0.4];
125 // the path remain will change due to the pitch
126 optional double pitch_path_remain_param = 58 [default = 9.0];
127 // if the pitch is over pitch_path_remain_param_min, the path remain will not change
128 optional double pitch_path_remain_param_min = 59 [default = -3.0];
129 // the path remain will not change when the speed is lower than downhill_full_stop_min_speed
130 optional double downhill_full_stop_min_speed = 60 [default = 0.4];
131
132 // wether to use speed interface
133 optional bool use_speed_itfc = 61 [default = false];
134 // when in speed itfc ,the car will not enter fullstop if speed is over speed_itfc_full_stop_speed
135 optional double speed_itfc_full_stop_speed = 62 [default = 0.09];
136 // when in speed itfc ,the car will not enter fullstop when the path remain is less than speed_itfc_path_remain_min
137 optional double speed_itfc_path_remain_min = 63 [default = 0.10];
138 // if the preview dcc is lower than speed_itfc_dcc_emergency, the car will not enter fullstop
139 optional double speed_itfc_dcc_emergency = 64 [default = -1.5];
140 // when in fullstop the speed cmd will change to speed_itfc_speed_cmd
141 optional double speed_itfc_speed_cmd = 65 [default = 0.10];
142 // the car will not enter fullstop when the path remain is over speed_itfc_path_remain_max
143 optional double speed_itfc_path_remain_max = 66 [default = 0.60];
144 // when in speed itfc ,the car will not enter fullstop when the acc is over speed_itfc_acc_thres
145 optional double speed_itfc_acc_thres = 67 [default = 0.0];
146 // if the speed ref is over speed_itfc_stop_speed, the speed cmd will be set to speed_itfc_speed_cmd
147 optional double speed_itfc_stop_speed = 68 [default = 0.05];
148
149 // open space speed control path remain
150 optional double speed_path_remain = 69 [default = 0.11];
151 // wether to use open space speed control
152 optional bool use_parking_speed_control = 70 [default = false];
153 // if current speed is lower than speed_control_min_speed, the car is considered to be stopped
154 optional double speed_control_min_speed = 71 [default = 0.05];
155 // the standard speed of openspace speed control
156 optional double openspace_r_std_v = 72 [default = 0.25];
157 // when current speed is over openspace_r_std_v+openspace_r_err, throttle cmd will decrease
158 optional double openspace_r_err = 73 [default = 0.03];
159 // the throttle will change by openspace_cmd_change in every control ts
160 optional double openspace_cmd_change = 74 [default = 0.02];
161 // if the pitch is lower than speed_control_pitch_thres,the car will enter antislip
162 optional double speed_control_pitch_thres = 75 [default = -1.0];
163 // the car will stand still if throttle cmd is lower than pitch_start_throttle
164 optional double pitch_start_throttle = 76 [default = 8.0];
165 // the car will stand still whin the openspace_start_num
166 optional int32 openspace_start_num = 78 [default = 60];
167 // when current speed is over openspace_r_std_v+openspace_r_err_big, brake cmd will rise
168 optional double openspace_r_err_big = 79 [default = 0.04];
169 // the brake will change by openspace_brk_change in every control ts
170 optional double openspace_brk_change = 80 [default = 0.1];
171 // the max brake cmd
172 optional double openspace_max_brk = 81 [default = 10.0];
173 optional double battery_threshold = 82;
174 // the min throttle that can let the car move
175 optional double openspace_start_throttle = 83 [default = 20.0];
176 // the throttle that will keep the car moving
177 optional double openspace_maintain_throttle = 84 [default = 13.0];
178 // wether to use openspace_maintain_throttle
179 optional bool use_maintain_throttle = 85 [default = false];
180}