![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Cubic Hand project for EECS 249A course.
Dependencies: MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811
Correction.h@41:367cab0162de, 2014-12-11 (annotated)
- Committer:
- robertbui
- Date:
- Thu Dec 11 12:08:27 2014 +0000
- Revision:
- 41:367cab0162de
- Parent:
- 36:4a58639da6cf
intermediate debugging.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
naren | 36:4a58639da6cf | 1 | #include "Glove.h" |
naren | 36:4a58639da6cf | 2 | |
naren | 36:4a58639da6cf | 3 | class Correction |
naren | 36:4a58639da6cf | 4 | { |
naren | 36:4a58639da6cf | 5 | public: |
naren | 36:4a58639da6cf | 6 | Correction(); |
naren | 36:4a58639da6cf | 7 | ~Correction(); |
naren | 36:4a58639da6cf | 8 | Glove Correct(Glove gloveData); |
naren | 36:4a58639da6cf | 9 | void Train(Glove gloveData); |
naren | 36:4a58639da6cf | 10 | |
naren | 36:4a58639da6cf | 11 | private: |
naren | 36:4a58639da6cf | 12 | uint16_t count; |
naren | 36:4a58639da6cf | 13 | long initTime; |
naren | 36:4a58639da6cf | 14 | float alpha; |
naren | 36:4a58639da6cf | 15 | // Stores the correction matrix |
robertbui | 41:367cab0162de | 16 | Glove correction; |
naren | 36:4a58639da6cf | 17 | // Stores the corrected glove values |
robertbui | 41:367cab0162de | 18 | Glove corrected; |
naren | 36:4a58639da6cf | 19 | }; |