#include <PIController.h>
◆ PIControllerBasic() [1/2]
PIControllerBasic::PIControllerBasic |
( |
| ) |
|
|
default |
◆ PIControllerBasic() [2/2]
Mdouble iGain_
Definition: PIController.h:27
Mdouble pGain_
Definition: PIController.h:25
◆ apply()
Applies a PI-controller, strain = pGain * error + iGain * interror, with the integrated stress interror += error * timeStep
- Parameters
-
error | = (stress-stressGoal) |
timeStep | |
- Returns
- strain
double Mdouble
Definition: GeneralDefine.h:13
Mdouble iError_
Definition: PIController.h:29
int error
Definition: calibrate.py:297
References calibrate::error, iError_, iGain_, and pGain_.
Referenced by PIController::apply().
◆ getIError()
double PIControllerBasic::getIError |
( |
| ) |
const |
|
inline |
◆ reset()
void PIControllerBasic::reset |
( |
| ) |
|
◆ set()
◆ iError_
Mdouble PIControllerBasic::iError_ = 0.0 |
|
private |
◆ iGain_
Mdouble PIControllerBasic::iGain_ = 0.0 |
|
private |
◆ pGain_
Mdouble PIControllerBasic::pGain_ = 0.0 |
|
private |
The documentation for this class was generated from the following files: