PlayBack

Dependencies:   TPixy-Interface

Fork of ManualControlFinal by ECE4333 - 2018 - Ahmed & Brandon

Drivers/PiController.h

Committer:
asobhy
Date:
2018-04-10
Branch:
ManualControl
Revision:
29:83c103d12078
Parent:
9:fe56b888985c

File content as of revision 29:83c103d12078:

/******************************************************************************/
// ECE4333
// LAB Partner 1:   Ahmed Sobhy - ID: 3594449
// LAB Partner 2:   Brandon Kingman - ID: 3470444
// Project:         Autonomous Robot Design
// Instructor:      Prof. Chris Diduch
/******************************************************************************/

#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 PiControllerR(int,int);
uint32_t PiControllerL(int,int);


#endif