#include <pid.h>
|
int32_t | setpoint |
|
int16_t | kp |
|
int16_t | ki |
|
int16_t | kd |
|
int32_t | prev_error |
|
int32_t | prev_i |
|
int32_t | max_i |
|
uint32_t | prev_time |
|
float | setpoint |
|
float | kp |
|
float | ki |
|
float | kd |
|
float | prev_error |
|
float | prev_i |
|
float | max_i |
|
tint_t | prev_time |
|
Structure to hold PID controller data
- kp, ki, and kd are the gain coefficients of the proportional, integral and derivative terms respectively
- prev_error - the error computed last time step to be used for derivative computation
- accum_error - the total accumulated error of the system to be used for integral computation
- prev_time - the last time the PID was updated, to be used for integral and derivative computations
The documentation for this struct was generated from the following files:
- C:/Users/Michael/Software/embeddedlibrary/include/pid.h
- C:/Users/Michael/Software/embeddedlibrary/include/pid_floating.h