SWARM-Bot Firmware
v1.0
Mobile robot OS - Embedded C/C++
|
PID Status. More...
#include <_pid_.h>
Public Attributes | |
int16_t | lastProcessValue |
Last process value, used to find derivative of process value. More... | |
int32_t | sumError |
Summation of errors, used for integrate calculations. More... | |
int16_t | P_Factor |
The Proportional tuning constant, multiplied with SCALING_FACTOR. More... | |
int16_t | I_Factor |
The Integral tuning constant, multiplied with SCALING_FACTOR. More... | |
int16_t | D_Factor |
The Derivative tuning constant, multiplied with SCALING_FACTOR. More... | |
int16_t | maxError |
Maximum allowed error, avoid overflow. More... | |
int32_t | maxSumError |
Maximum allowed sumerror, avoid overflow. More... | |
PID Status.
Setpoints and data used by the PID control algorithm
int16_t PID_DATA::D_Factor |
The Derivative tuning constant, multiplied with SCALING_FACTOR.
Referenced by pid_Init().
int16_t PID_DATA::I_Factor |
The Integral tuning constant, multiplied with SCALING_FACTOR.
Referenced by pid_Init().
int16_t PID_DATA::lastProcessValue |
Last process value, used to find derivative of process value.
Referenced by pid_Init().
int16_t PID_DATA::maxError |
Maximum allowed error, avoid overflow.
Referenced by pid_Controller(), and pid_Init().
int32_t PID_DATA::maxSumError |
Maximum allowed sumerror, avoid overflow.
Referenced by pid_Controller(), and pid_Init().
int16_t PID_DATA::P_Factor |
The Proportional tuning constant, multiplied with SCALING_FACTOR.
Referenced by pid_Controller(), and pid_Init().
int32_t PID_DATA::sumError |
Summation of errors, used for integrate calculations.
Referenced by pid_Controller(), pid_Init(), and pid_Reset_Integrator().