Britney Dorval
/
Yusheng-final_project_robot
Code for robot
Fork of Yusheng-final_project by
balance_bot.h@11:dc410a980771, 2017-04-26 (annotated)
- Committer:
- britneyd
- Date:
- Wed Apr 26 20:58:31 2017 +0000
- Revision:
- 11:dc410a980771
- Parent:
- 6:ae3e6aefe908
Code for robot;
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 |