Defines

/home/jgoppert/Projects/ap/libraries/PID/PID.cpp File Reference

Generic PID algorithm, with EEPROM-backed storage of constants. More...

#include <math.h>
#include <avr/eeprom.h>
#include "PID.h"
Include dependency graph for PID.cpp:

Go to the source code of this file.

Defines

#define _kp   _gain_array[0]
#define _ki   _gain_array[1]
#define _kd   _gain_array[2]
#define _imax   _gain_array[3]

Detailed Description

Generic PID algorithm, with EEPROM-backed storage of constants.

Definition in file PID.cpp.


Define Documentation

#define _imax   _gain_array[3]

Definition at line 15 of file PID.cpp.

#define _kd   _gain_array[2]

Definition at line 14 of file PID.cpp.

#define _ki   _gain_array[1]

Definition at line 13 of file PID.cpp.

#define _kp   _gain_array[0]

Definition at line 12 of file PID.cpp.