Apollo 10.0
自动驾驶开放平台
|
A lead/lag controller for speed and steering using defualt integral hold 更多...
#include <leadlag_controller.h>
Public 成员函数 | |
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 属性 | |
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 |
A lead/lag controller for speed and steering using defualt integral hold
在文件 leadlag_controller.h 第 38 行定义.
|
virtual |
compute control value based on the error
error | error value, the difference between a desired value and a measured value |
dt | sampling time interval |
在文件 leadlag_controller.cc 第 26 行定义.
void apollo::control::LeadlagController::Init | ( | const LeadlagConf & | leadlag_conf, |
const double | dt | ||
) |
initialize lead/lag controller
leadlag_conf | configuration for leadlag controller |
dt | sampling time interval |
在文件 leadlag_controller.cc 第 69 行定义.
int apollo::control::LeadlagController::InnerstateSaturationStatus | ( | ) | const |
void apollo::control::LeadlagController::Reset | ( | ) |
reset variables for lead/leg controller
在文件 leadlag_controller.cc 第 62 行定义.
void apollo::control::LeadlagController::SetLeadlag | ( | const LeadlagConf & | leadlag_conf | ) |
alpha, beta and tau
leadlag_conf | configuration for leadlag controller |
在文件 leadlag_controller.cc 第 82 行定义.
void apollo::control::LeadlagController::TransformC2d | ( | const double | dt | ) |
transfer lead/lag controller coefficients to the discrete-time form, with the bilinear transform (trapezoidal integration) method
dt | sampling time interval |
在文件 leadlag_controller.cc 第 88 行定义.
|
protected |
在文件 leadlag_controller.h 第 82 行定义.
|
protected |
在文件 leadlag_controller.h 第 83 行定义.
|
protected |
在文件 leadlag_controller.h 第 94 行定义.
|
protected |
在文件 leadlag_controller.h 第 95 行定义.
|
protected |
在文件 leadlag_controller.h 第 96 行定义.
|
protected |
在文件 leadlag_controller.h 第 97 行定义.
|
protected |
在文件 leadlag_controller.h 第 90 行定义.
|
protected |
在文件 leadlag_controller.h 第 89 行定义.
|
protected |
在文件 leadlag_controller.h 第 88 行定义.
|
protected |
在文件 leadlag_controller.h 第 87 行定义.
|
protected |
在文件 leadlag_controller.h 第 93 行定义.
|
protected |
在文件 leadlag_controller.h 第 92 行定义.
|
protected |
在文件 leadlag_controller.h 第 84 行定义.
|
protected |
在文件 leadlag_controller.h 第 98 行定义.
|
protected |
在文件 leadlag_controller.h 第 85 行定义.