PlayBack
Dependencies: TPixy-Interface
Fork of ObjectFollower by
Drivers/PiController.h@29:83c103d12078, 2018-04-10 (annotated)
- Committer:
- asobhy
- Date:
- Tue Apr 10 20:54:37 2018 +0000
- Branch:
- ManualControl
- Revision:
- 29:83c103d12078
- Parent:
- 9:fe56b888985c
ManualControl
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
asobhy | 8:a0890fa79084 | 1 | /******************************************************************************/ |
asobhy | 8:a0890fa79084 | 2 | // ECE4333 |
asobhy | 9:fe56b888985c | 3 | // LAB Partner 1: Ahmed Sobhy - ID: 3594449 |
asobhy | 9:fe56b888985c | 4 | // LAB Partner 2: Brandon Kingman - ID: 3470444 |
asobhy | 9:fe56b888985c | 5 | // Project: Autonomous Robot Design |
asobhy | 9:fe56b888985c | 6 | // Instructor: Prof. Chris Diduch |
asobhy | 8:a0890fa79084 | 7 | /******************************************************************************/ |
asobhy | 8:a0890fa79084 | 8 | |
asobhy | 4:417e475239c7 | 9 | #ifndef PICONTROLLER_H |
asobhy | 4:417e475239c7 | 10 | #define PICONTROLLER_H |
asobhy | 4:417e475239c7 | 11 | |
asobhy | 4:417e475239c7 | 12 | #define U_LIMIT 20 |
asobhy | 4:417e475239c7 | 13 | |
asobhy | 4:417e475239c7 | 14 | int SaturateValue(int , int ); |
asobhy | 4:417e475239c7 | 15 | int SaturatingSubtract(int x, int y); |
asobhy | 4:417e475239c7 | 16 | int SaturatingAdd(int x, int y); |
asobhy | 4:417e475239c7 | 17 | void PiController_init(float,float); |
asobhy | 9:fe56b888985c | 18 | uint32_t PiControllerR(int,int); |
asobhy | 9:fe56b888985c | 19 | uint32_t PiControllerL(int,int); |
asobhy | 4:417e475239c7 | 20 | |
asobhy | 4:417e475239c7 | 21 | |
asobhy | 4:417e475239c7 | 22 | #endif |