ESE519 Lab6 Part3
Dependencies: MPU6050_Lab6_Part3 mbed
Fork of BroBot_v2 by
Diff: balance_bot.h
- Revision:
- 6:ae3e6aefe908
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/balance_bot.h Thu Nov 10 19:20:55 2016 +0000 @@ -0,0 +1,6 @@ +//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