robot

Dependencies:   MPU6050_Lab6_Part3 mbed

Fork of ESE519_Lab6_part3_skeleton by Carter Sharer

balance_bot.h

Committer:
jliutang
Date:
2016-11-16
Revision:
9:d9776d8ce47c
Parent:
6:ae3e6aefe908

File content as of revision 9:d9776d8ce47c:

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