Home
last modified time | relevance | path

Searched defs:pid_info_t (Results 1 – 1 of 1) sorted by relevance

/openbmc/phosphor-pid-control/pid/ec/
H A Dpid.hpp20 typedef struct pid_info_t struct
22 bool initialized = false; // has pid been initialized
23 bool checkHysterWithSetpt = false; // compare current input and setpoint to
26 double ts = 0.0; // sample time in seconds
27 double integral = 0.0; // integral of error
28 double lastOutput = 0.0; // value of last output
29 double lastError = 0.0; // value of last error
31 double proportionalCoeff = 0.0; // coeff for P
32 double integralCoeff = 0.0; // coeff for I
33 double derivativeCoeff = 0.0; // coeff for D
[all …]