ESE519 Lab6 Part3
Dependencies: MPU6050_Lab6_Part3 mbed
Fork of BroBot_v2 by
balance_bot.h@8:777c69531f37, 2016-11-11 (annotated)
- Committer:
- csharer
- Date:
- Fri Nov 11 19:20:41 2016 +0000
- Revision:
- 8:777c69531f37
- Parent:
- 6:ae3e6aefe908
fixed
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
csharer | 6:ae3e6aefe908 | 1 | //balance_bot.h |
csharer | 6:ae3e6aefe908 | 2 | // This file is used to store constants and operators used by many files |
csharer | 6:ae3e6aefe908 | 3 | |
csharer | 6:ae3e6aefe908 | 4 | #define RAD2GRAD 57.2957795 |
csharer | 6:ae3e6aefe908 | 5 | #define CAP(val, constraint) ((val > constraint) ? constraint : ((val<-constraint) ? -constraint : val)) |
csharer | 6:ae3e6aefe908 | 6 | #define MAX_CONTROL_OUTPUT 100 |