robot
Dependencies: MPU6050_Lab6_Part3 mbed
Fork of ESE519_Lab6_part3_skeleton by
balance_bot.h@6:ae3e6aefe908, 2016-11-10 (annotated)
- Committer:
- csharer
- Date:
- Thu Nov 10 19:20:55 2016 +0000
- Revision:
- 6:ae3e6aefe908
ese519 lab6 part 3;
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 |