xyControl
0.1
Quadrotor Flight Controller on AVR Basis
|
PID Library Header. More...
Go to the source code of this file.
Data Structures | |
struct | PIDState |
Data Structure for a single PID Controller. More... | |
Macros | |
#define | ROLL 0 |
Roll index for pidTarget, pidOutput and pidStates. More... | |
#define | PITCH 1 |
Pitch index for pidTarget, pidOutput and pidStates. More... | |
Functions | |
void | pidInit (void) |
Initialize Roll and Pitch PID. More... | |
void | pidTask (void) |
Step the Roll and Pitch PID Controllers. More... | |
void | pidSet (PIDState *pid, double kp, double ki, double kd, double min, double max, double iMin, double iMax) |
Set the parameters of a PID controller. More... | |
double | pidExecute (double should, double is, PIDState *state) |
Execute a single PID Control Step. More... | |
Variables | |
double | pidTarget [2] |
Roll and Pitch target angles. More... | |
double | pidOutput [2] |
Roll and Pitch PID Output. More... | |
PIDState | pidStates [2] |
Roll and Pitch PID States. More... | |
PID Library Header.
Definition in file pid.h.