ObjectFollower
Dependencies: TPixy-Interface
Fork of PlayBack by
Diff: Drivers/PiController.h
- Revision:
- 7:73fd05fe556a
- Parent:
- 4:417e475239c7
- Child:
- 8:a0890fa79084
diff -r e7ce340fe91e -r 73fd05fe556a Drivers/PiController.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Drivers/PiController.h Thu Feb 15 01:15:26 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