Cubic Hand project for EECS 249A course.
Dependencies: MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811
Diff: Correction.cpp
- Revision:
- 52:0f7a239cdd09
- Parent:
- 49:361833355173
diff -r 09796a9ee78d -r 0f7a239cdd09 Correction.cpp --- a/Correction.cpp Thu Dec 11 18:33:50 2014 +0000 +++ b/Correction.cpp Thu Dec 11 21:22:42 2014 +0000 @@ -12,12 +12,12 @@ correction.pitch = 0.0; correction.yaw = 0.0; for (int i = 0; i < 5; i++) - correction.fingers[i] = 0.0; + correction.fingers[i] = 0; corrected.roll = 0.0; corrected.pitch = 0.0; corrected.yaw = 0.0; for (int i = 0; i < 5; i++) - corrected.fingers[i] = 0.0; + corrected.fingers[i] = 0; } Correction::~Correction()