PlayBack

Dependencies:   TPixy-Interface

Fork of ManualControlFinal by ECE4333 - 2018 - Ahmed & Brandon

Drivers/PiController.h

Committer:
asobhy
Date:
2018-02-23
Revision:
9:fe56b888985c
Parent:
8:a0890fa79084

File content as of revision 9:fe56b888985c:

/******************************************************************************/
// 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