Dave Lu
/
FYDP
IMU and knee angle. No servo yet
Fork of FYDP_Final2 by
Control/control.hpp@11:425dff6a4af9, 2015-03-25 (annotated)
- Committer:
- tntmarket
- Date:
- Wed Mar 25 18:11:09 2015 +0000
- Revision:
- 11:425dff6a4af9
- Parent:
- 10:22c44650c7c1
Working
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
tntmarket | 10:22c44650c7c1 | 1 | #ifndef CONTROL_HPP |
tntmarket | 10:22c44650c7c1 | 2 | #define CONTROL_HPP |
tntmarket | 10:22c44650c7c1 | 3 | |
tntmarket | 9:7a8fb72f9a93 | 4 | #include "Sensor.hpp" |
tntmarket | 9:7a8fb72f9a93 | 5 | |
tntmarket | 11:425dff6a4af9 | 6 | void setup(Sensor* s); |
tntmarket | 9:7a8fb72f9a93 | 7 | void process(); |
tntmarket | 9:7a8fb72f9a93 | 8 | int getState(); |
tntmarket | 9:7a8fb72f9a93 | 9 | void setStateToStop(); |
tntmarket | 9:7a8fb72f9a93 | 10 | float getPace(); |
tntmarket | 9:7a8fb72f9a93 | 11 | float getThigh(); |
tntmarket | 9:7a8fb72f9a93 | 12 | float getHip(); |
tntmarket | 10:22c44650c7c1 | 13 | float getKneeDiff(); |
tntmarket | 10:22c44650c7c1 | 14 | |
tntmarket | 10:22c44650c7c1 | 15 | #endif // CONTROL_HPP |