Cubic Hand project for EECS 249A course.

Dependencies:   MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811

Committer:
joseoyola
Date:
Mon Dec 15 23:55:15 2014 +0000
Revision:
56:f95ec9baa4cb
Parent:
41:367cab0162de
Changes to LedCube.h and LedCube.cpp; ; Renamed ledCube.h and ledCube.cpp to LedCube.h and LedCube.cpp, added documentation to both, added logic to move cube to allow changing size regardless of current position.

Who changed what in which revision?

UserRevisionLine numberNew 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 };