12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- #ifndef _pid_H_
- #define _pid_H_
- #include <fruit.h>
- typedef struct {
- unsigned char GainP, GainI, GainD;
- long int Int;
- long int Last;
- long int Out;
- int MaxOut;
- } t_pid ;
- void pidInit(t_pid *Pid);
- void pidCompute(t_pid *Pid,int err);
- void pidInput(t_pid *Pid);
- void pidDeclareEE(t_pid *Pid);
- #define pid_EESIZE 5
- #endif
|