Go to the source code of this file.
Classes | |
struct | PIDBase |
struct | PT1Model |
Typedefs | |
typedef struct PIDBase | PIDBase |
typedef struct PT1Model | PT1Model |
Functions | |
void | PIDBase_init (PIDBase *self) |
float | sat (float u, float low, float high) |
The PID controller base.
Use doxygen grouping and reduce size
Document difference between auto-windup and ext-windup
Rename lastError, lastState to yk_1, ek_1,ek_2 etc.
The extended PT1 model used for vehicle. The model can be used to auto-tune the PIDController class. The model is defined as:
alpha * nu' = (beta + betaa * abs(nu))*nu + tau
void PIDBase_init | ( | PIDBase * | self | ) |