Store gains in a struct to allow easier realtime buffer usage. More...
#include <sr_plain_pid.hpp>
Public Member Functions | |
Gains (double p, double i, double d, double i_max, double i_min) | |
Gains (double p, double i, double d, double i_max, double i_min, bool antiwindup) | |
Gains () | |
Public Attributes | |
bool | antiwindup_ |
double | d_gain_ |
double | i_gain_ |
double | i_max_ |
double | i_min_ |
double | p_gain_ |
Store gains in a struct to allow easier realtime buffer usage.
Definition at line 116 of file sr_plain_pid.hpp.
|
inline |
Definition at line 119 of file sr_plain_pid.hpp.
|
inline |
Definition at line 128 of file sr_plain_pid.hpp.
|
inline |
Definition at line 137 of file sr_plain_pid.hpp.
bool controller::PlainPid::Gains::antiwindup_ |
Antiwindup.
Definition at line 150 of file sr_plain_pid.hpp.
double controller::PlainPid::Gains::d_gain_ |
Derivative gain.
Definition at line 147 of file sr_plain_pid.hpp.
double controller::PlainPid::Gains::i_gain_ |
Integral gain.
Definition at line 146 of file sr_plain_pid.hpp.
double controller::PlainPid::Gains::i_max_ |
Maximum allowable integral term.
Definition at line 148 of file sr_plain_pid.hpp.
double controller::PlainPid::Gains::i_min_ |
Minimum allowable integral term.
Definition at line 149 of file sr_plain_pid.hpp.
double controller::PlainPid::Gains::p_gain_ |
Proportional gain.
Definition at line 145 of file sr_plain_pid.hpp.