robot
Dependencies: MPU6050_Lab6_Part3 mbed
Fork of ESE519_Lab6_part3_skeleton by
balance_bot.h@9:d9776d8ce47c, 2016-11-16 (annotated)
- Committer:
- jliutang
- Date:
- Wed Nov 16 00:14:11 2016 +0000
- Revision:
- 9:d9776d8ce47c
- Parent:
- 6:ae3e6aefe908
11/15
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 |