Cubic Hand project for EECS 249A course.
Dependencies: MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811
Glove.h@56:f95ec9baa4cb, 2014-12-15 (annotated)
- Committer:
- joseoyola
- Date:
- Mon Dec 15 23:55:15 2014 +0000
- Revision:
- 56:f95ec9baa4cb
- Parent:
- 52:0f7a239cdd09
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?
User | Revision | Line number | New contents of line |
---|---|---|---|
naren | 36:4a58639da6cf | 1 | #include "mbed.h" |
naren | 36:4a58639da6cf | 2 | |
naren | 36:4a58639da6cf | 3 | #pragma once |
naren | 36:4a58639da6cf | 4 | |
naren | 36:4a58639da6cf | 5 | struct Glove { |
naren | 52:0f7a239cdd09 | 6 | float roll; |
naren | 52:0f7a239cdd09 | 7 | float pitch; |
naren | 52:0f7a239cdd09 | 8 | float yaw; |
naren | 52:0f7a239cdd09 | 9 | int fingers[5]; //Finger 4 is thumb, Finger 0 is pinky. |
naren | 52:0f7a239cdd09 | 10 | float gyro[3]; |
naren | 52:0f7a239cdd09 | 11 | float magn[3]; |
naren | 52:0f7a239cdd09 | 12 | float accel[3]; |
naren | 36:4a58639da6cf | 13 | int lastPkgTime; |
naren | 36:4a58639da6cf | 14 | }; |
robertbui | 40:bdd949fc3bc2 | 15 |