|
Apollo 11.0
自动驾驶开放平台
|
A proportional-integral-derivative controller for speed and steering using defualt integral hold 更多...
#include <pid_controller.h>
Public 成员函数 | |
| void | Init (const PidConf &pid_conf) |
| initialize pid controller | |
| void | SetPID (const PidConf &pid_conf) |
| set pid controller coefficients for the proportional, integral, and derivative | |
| void | Reset () |
| reset variables for pid controller | |
| void | Reset_integral () |
| reset integral for pid controller | |
| virtual double | Control (const double error, const double dt) |
| compute control value based on the error | |
| virtual | ~PIDController ()=default |
| int | IntegratorSaturationStatus () const |
| get saturation status | |
| bool | IntegratorHold () const |
| get status that if integrator is hold | |
| void | SetIntegratorHold (bool hold) |
| set whether to hold integrator component at its current value. | |
Protected 属性 | |
| double | kp_ = 0.0 |
| double | ki_ = 0.0 |
| double | kd_ = 0.0 |
| double | kaw_ = 0.0 |
| double | previous_error_ = 0.0 |
| double | previous_output_ = 0.0 |
| double | integral_ = 0.0 |
| double | integrator_saturation_high_ = 0.0 |
| double | integrator_saturation_low_ = 0.0 |
| bool | first_hit_ = false |
| bool | integrator_enabled_ = false |
| bool | integrator_hold_ = false |
| int | integrator_saturation_status_ = 0 |
| double | output_saturation_high_ = 0.0 |
| double | output_saturation_low_ = 0.0 |
| int | output_saturation_status_ = 0 |
A proportional-integral-derivative controller for speed and steering using defualt integral hold
在文件 pid_controller.h 第 38 行定义.
|
virtualdefault |
|
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 |
被 apollo::control::PIDBCController , 以及 apollo::control::PIDICController 重载.
在文件 pid_controller.cc 第 26 行定义.
| void apollo::control::PIDController::Init | ( | const PidConf & | pid_conf | ) |
initialize pid controller
| pid_conf | configuration for pid controller |
在文件 pid_controller.cc 第 75 行定义.
| bool apollo::control::PIDController::IntegratorHold | ( | ) | const |
get status that if integrator is hold
在文件 pid_controller.cc 第 104 行定义.
| int apollo::control::PIDController::IntegratorSaturationStatus | ( | ) | const |
| void apollo::control::PIDController::Reset | ( | ) |
reset variables for pid controller
在文件 pid_controller.cc 第 66 行定义.
| void apollo::control::PIDController::Reset_integral | ( | ) |
reset integral for pid controller
在文件 pid_controller.cc 第 61 行定义.
| void apollo::control::PIDController::SetIntegratorHold | ( | bool | hold | ) |
set whether to hold integrator component at its current value.
| hold |
在文件 pid_controller.cc 第 106 行定义.
| void apollo::control::PIDController::SetPID | ( | const PidConf & | pid_conf | ) |
|
protected |
在文件 pid_controller.h 第 102 行定义.
|
protected |
在文件 pid_controller.h 第 99 行定义.
|
protected |
在文件 pid_controller.h 第 103 行定义.
|
protected |
在文件 pid_controller.h 第 104 行定义.
|
protected |
在文件 pid_controller.h 第 100 行定义.
|
protected |
在文件 pid_controller.h 第 101 行定义.
|
protected |
在文件 pid_controller.h 第 105 行定义.
|
protected |
在文件 pid_controller.h 第 96 行定义.
|
protected |
在文件 pid_controller.h 第 95 行定义.
|
protected |
在文件 pid_controller.h 第 94 行定义.
|
protected |
在文件 pid_controller.h 第 93 行定义.
|
protected |
在文件 pid_controller.h 第 107 行定义.
|
protected |
在文件 pid_controller.h 第 108 行定义.
|
protected |
在文件 pid_controller.h 第 109 行定义.
|
protected |
在文件 pid_controller.h 第 97 行定义.
|
protected |
在文件 pid_controller.h 第 98 行定义.