![]() |
xyControl
0.1
Quadrotor Flight Controller on AVR Basis
|
PID Library Implementation. More...
#include <stdint.h>#include <avr/io.h>#include <twi.h>#include <motor.h>#include <tasks.h>#include <time.h>#include <pid.h>#include <orientation.h>#include <config.h>Go to the source code of this file.
Functions | |
| double | pidExecute (double should, double is, PIDState *state) |
| Execute a single PID Control Step. More... | |
| void | pidInit (void) |
| Initialize Roll and Pitch PID. 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... | |
| void | pidTask (void) |
| Step the Roll and Pitch PID Controllers. More... | |
Variables | |
| PIDState | pidStates [2] |
| Roll and Pitch PID States. More... | |
| double | pidTarget [2] |
| Roll and Pitch target angles. More... | |
| double | pidOutput [2] |
| Roll and Pitch PID Output. More... | |
PID Library Implementation.
Definition in file pid.c.
1.8.3.1