arduino-audio-tools
Public Member Functions | Protected Attributes | List of all members
PIDController Class Reference

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
 

Detailed Description

A simple header only PID Controller.

Author
Phil Schatzmann

The documentation for this class was generated from the following file: