ManualControl
Dependencies: TPixy-Interface
Fork of MbedOS_Robot_Team by
PiController.h@4:417e475239c7, 2018-02-09 (annotated)
- Committer:
- asobhy
- Date:
- Fri Feb 09 18:37:11 2018 +0000
- Revision:
- 4:417e475239c7
beginning of lab 02/09/2018
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 |