PlayBack

Dependencies:   TPixy-Interface

Fork of ManualControlFinal by ECE4333 - 2018 - Ahmed & Brandon

Drivers/PiController.h

Committer:
asobhy
Date:
2018-02-19
Revision:
8:a0890fa79084
Parent:
7:73fd05fe556a
Child:
9:fe56b888985c

File content as of revision 8:a0890fa79084:

/******************************************************************************/
// 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 PiController(int,int);


#endif