Cubic Hand project for EECS 249A course.
Dependencies: MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811
Diff: Correction.h
- Revision:
- 36:4a58639da6cf
- Child:
- 41:367cab0162de
diff -r 50be685a3f54 -r 4a58639da6cf Correction.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Correction.h Thu Dec 11 07:03:09 2014 +0000 @@ -0,0 +1,19 @@ +#include "Glove.h" + +class Correction +{ + public: + Correction(); + ~Correction(); + Glove Correct(Glove gloveData); + void Train(Glove gloveData); + + private: + uint16_t count; + long initTime; + float alpha; + // Stores the correction matrix + Glove *correction; + // Stores the corrected glove values + Glove *corrected; +}; \ No newline at end of file