ESE519 Lab6 Part3

Dependencies:   MPU6050_Lab6_Part3 mbed

Fork of BroBot_v2 by Carter Sharer

balance_bot.h

Committer:
csharer
Date:
2016-11-11
Revision:
8:777c69531f37
Parent:
6:ae3e6aefe908

File content as of revision 8:777c69531f37:

//balance_bot.h
// This file is used to store constants and operators used by many files

#define RAD2GRAD 57.2957795
#define CAP(val, constraint) ((val > constraint) ? constraint : ((val<-constraint) ? -constraint : val))
#define MAX_CONTROL_OUTPUT 100