PlayBack
Dependencies: TPixy-Interface
Fork of ObjectFollower by
Drivers/PiController.h@7:73fd05fe556a, 2018-02-15 (annotated)
- Committer:
- asobhy
- Date:
- Thu Feb 15 01:15:26 2018 +0000
- Revision:
- 7:73fd05fe556a
- Parent:
- PiController.h@4:417e475239c7
- Child:
- 8:a0890fa79084
Added comments to several files and organized the code a bit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
asobhy | 4:417e475239c7 | 1 | #ifndef PICONTROLLER_H |
asobhy | 4:417e475239c7 | 2 | #define PICONTROLLER_H |
asobhy | 4:417e475239c7 | 3 | |
asobhy | 4:417e475239c7 | 4 | #define U_LIMIT 20 |
asobhy | 4:417e475239c7 | 5 | |
asobhy | 4:417e475239c7 | 6 | int SaturateValue(int , int ); |
asobhy | 4:417e475239c7 | 7 | int SaturatingSubtract(int x, int y); |
asobhy | 4:417e475239c7 | 8 | int SaturatingAdd(int x, int y); |
asobhy | 4:417e475239c7 | 9 | void PiController_init(float,float); |
asobhy | 4:417e475239c7 | 10 | uint32_t PiController(int,int); |
asobhy | 4:417e475239c7 | 11 | |
asobhy | 4:417e475239c7 | 12 | |
asobhy | 4:417e475239c7 | 13 | #endif |