PlayBack
Dependencies: TPixy-Interface
Fork of ObjectFollower by
Drivers/PiController.h@8:a0890fa79084, 2018-02-19 (annotated)
- Committer:
- asobhy
- Date:
- Mon Feb 19 17:42:33 2018 +0000
- Revision:
- 8:a0890fa79084
- Parent:
- 7:73fd05fe556a
- Child:
- 9:fe56b888985c
added more comments
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
asobhy | 8:a0890fa79084 | 1 | /******************************************************************************/ |
asobhy | 8:a0890fa79084 | 2 | // ECE4333 |
asobhy | 8:a0890fa79084 | 3 | // LAB Partner 1: Ahmed Sobhy - ID: 3594449 |
asobhy | 8:a0890fa79084 | 4 | // LAB Partner 2: Brandon Kingman - ID: 3470444 |
asobhy | 8:a0890fa79084 | 5 | // Project: Autonomous Robot Design |
asobhy | 8:a0890fa79084 | 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 | 4:417e475239c7 | 18 | uint32_t PiController(int,int); |
asobhy | 4:417e475239c7 | 19 | |
asobhy | 4:417e475239c7 | 20 | |
asobhy | 4:417e475239c7 | 21 | #endif |