cisst-saw
|
#include <osaPIDAntiWindup.h>
Public Types | |
enum | Errno { ESUCCESS, EFAILURE } |
Public Member Functions | |
osaPIDAntiWindup (const vctDynamicVector< double > &Kp, const vctDynamicVector< double > &Ki, const vctDynamicVector< double > &Kd, const vctDynamicVector< double > &Kt, const vctDynamicVector< double > &limits, const vctDynamicVector< double > &qinit) | |
Main constructor. More... | |
osaPIDAntiWindup::Errno | Evaluate (const vctDynamicVector< double > &qs, const vctDynamicVector< double > &q, vctDynamicVector< double > &tau, double dt) |
Evaluate the control law. More... | |
osaPIDAntiWindup::osaPIDAntiWindup | ( | const vctDynamicVector< double > & | Kp, |
const vctDynamicVector< double > & | Ki, | ||
const vctDynamicVector< double > & | Kd, | ||
const vctDynamicVector< double > & | Kt, | ||
const vctDynamicVector< double > & | limits, | ||
const vctDynamicVector< double > & | qinit | ||
) |
Main constructor.
[in] | Kp | Vector of proportional gains |
[in] | Ki | Vector of integral gains |
[in] | Kd | Vector of derivative gains |
[in] | Kt | Vector of anti-windup gains |
[in] | limits | Vector of plant limits |
[in] | qinit | Initial positions |
osaPIDAntiWindup::Errno osaPIDAntiWindup::Evaluate | ( | const vctDynamicVector< double > & | qs, |
const vctDynamicVector< double > & | q, | ||
vctDynamicVector< double > & | tau, | ||
double | dt | ||
) |
Evaluate the control law.
[in] | qs | Desired joint positions |
[in] | q | Current joint positions |
[out] | tau | Joint forces/torques |
dt | Time interval |