![]() |
EVE 1.0
|
Abstract PID-controller implementation. More...
Go to the source code of this file.
Data Structures | |
struct | pid_controller_t |
PID controller instance data. More... | |
Functions | |
void | PidInit (struct pid_controller_t *Pid, float K, float Ti, float Td, float MinIntegral, float MaxIntegral) |
Initialize PID controller data. Function gets standard coefficients from PID formula: f(n) = K * ( Error(n) + SUM(Error(0) * dt(0)...Error(n) * dt(n)) / Ti + Td * Error(n) / dt(n)) More... | |
void | PidReset (struct pid_controller_t *Pid) |
Reset PID controller. More... | |
float | PidFunc (struct pid_controller_t *Pid, float Error, float ErrorDiff, float TimeDelta) |
Calculate PID function. More... | |
Abstract PID-controller implementation.
Definition in file pid-controller.h.