Temp Fork

Dependencies:   MMA8451Q Multi_WS2811 NVIC_set_all_priorities TSI cc3000_hostdriver_mbedsocket mbed

Fork of CubicHand by Model-Based Team

Files at this revision

API Documentation at this revision

Comitter:
robertbui
Date:
Thu Dec 11 06:06:07 2014 +0000
Parent:
26:0933d7f2fe78
Commit message:
initial draft of GestureRecognition.

Changed in this revision

CubeUpdateParameters.h Show annotated file Show diff for this revision Revisions of this file
GestureRecognition.h Show annotated file Show diff for this revision Revisions of this file
ledCube.cpp Show annotated file Show diff for this revision Revisions of this file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/GestureRecognition.h	Thu Dec 11 06:06:07 2014 +0000
@@ -0,0 +1,11 @@
+class GestureRecognition
+{
+    public:
+        GestureRecognition();
+        ~GestureRecognition();
+        
+        
+    private:
+      
+    
+};
\ No newline at end of file
--- a/ledCube.cpp	Thu Dec 11 05:40:39 2014 +0000
+++ b/ledCube.cpp	Thu Dec 11 06:06:07 2014 +0000
@@ -54,7 +54,16 @@
 
 /*Determines which LED should be lit based on its 
 cartesian coordinate. The origin is the led at
-bottom left of panel 0 when using a three cube panel.  */
+bottom left of panel 1 when using a three panel cube
+     ________
+    /       /|
+   /   3   / |
+  /_______/ 2|
+  |       |  | 
+  |   1   | /
+  |       |
+  --------        
+*/
 
 int LedCube::getLedIndex(int panel, int x, int y) {
     if (panel == PANEL1) {