|
Apollo 11.0
自动驾驶开放平台
|
#include <leadlag_plus_controller.h>
Public 成员函数 | |
| void | InitLeadlag () |
| initialize lead/lag controller | |
| void | SetLeadlagConf (const LeadlagConf &leadlag_conf) |
| alpha, beta and tau | |
Public 成员函数 继承自 apollo::control::LeadlagController | |
| void | Init (const LeadlagConf &leadlag_conf, const double dt) |
| initialize lead/lag controller | |
| void | SetLeadlag (const LeadlagConf &leadlag_conf) |
| alpha, beta and tau | |
| void | TransformC2d (const double dt) |
| transfer lead/lag controller coefficients to the discrete-time form, with the bilinear transform (trapezoidal integration) method | |
| void | Reset () |
| reset variables for lead/leg controller | |
| virtual double | Control (const double error, const double dt) |
| compute control value based on the error | |
| int | InnerstateSaturationStatus () const |
| get saturation status | |
额外继承的成员函数 | |
Protected 属性 继承自 apollo::control::LeadlagController | |
| double | alpha_ = 0.0 |
| double | beta_ = 0.0 |
| double | tau_ = 0.0 |
| double | Ts_ = 0.01 |
| double | kn1_ = 0.0 |
| double | kn0_ = 0.0 |
| double | kd1_ = 0.0 |
| double | kd0_ = 0.0 |
| double | previous_output_ = 0.0 |
| double | previous_innerstate_ = 0.0 |
| double | innerstate_ = 0.0 |
| double | innerstate_saturation_high_ = 0.0 |
| double | innerstate_saturation_low_ = 0.0 |
| int | innerstate_saturation_status_ = 0 |
| bool | transfromc2d_enabled_ = false |
在文件 leadlag_plus_controller.h 第 40 行定义.
| void apollo::control::LeadlagPlusController::InitLeadlag | ( | ) |
initialize lead/lag controller
在文件 leadlag_plus_controller.cc 第 26 行定义.
| void apollo::control::LeadlagPlusController::SetLeadlagConf | ( | const LeadlagConf & | leadlag_conf | ) |
alpha, beta and tau
| leadlag_conf | configuration for leadlag controller |
在文件 leadlag_plus_controller.cc 第 33 行定义.