ObjectFollower
Dependencies: TPixy-Interface
Fork of PlayBack by
Diff: PiController.h
- Revision:
- 4:417e475239c7
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/PiController.h Fri Feb 09 18:37:11 2018 +0000 @@ -0,0 +1,13 @@ +#ifndef PICONTROLLER_H +#define PICONTROLLER_H + +#define U_LIMIT 20 + +int SaturateValue(int , int ); +int SaturatingSubtract(int x, int y); +int SaturatingAdd(int x, int y); +void PiController_init(float,float); +uint32_t PiController(int,int); + + +#endif \ No newline at end of file