arduino-audio-tools
|
A simple header only PID Controller. More...
#include <PIDController.h>
Public Member Functions | |
void | begin (float dt, float max, float min, float kp, float kd, float ki) |
float | calculate (float target, float measured) |
Protected Attributes | |
float | dt = 1.0f |
float | integral = 0.0f |
float | kd = 0.0f |
float | ki = 0.0f |
float | kp = 0.0f |
float | max = 0.0f |
float | min = 0.0f |
float | preerror = 0.0f |
A simple header only PID Controller.