Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: MMA8451Q TSI cc3000_hostdriver_mbedsocket NVIC_set_all_priorities mbed Multi_WS2811
Diff: Glove.h
- Revision:
- 52:0f7a239cdd09
- Parent:
- 40:bdd949fc3bc2
--- a/Glove.h Thu Dec 11 18:33:50 2014 +0000
+++ b/Glove.h Thu Dec 11 21:22:42 2014 +0000
@@ -3,13 +3,13 @@
#pragma once
struct Glove {
- double roll;
- double pitch;
- double yaw;
- double fingers[5]; //Finger 4 is thumb, Finger 0 is pinky.
- double gyro[3];
- double magn[3];
- double accel[3];
+ float roll;
+ float pitch;
+ float yaw;
+ int fingers[5]; //Finger 4 is thumb, Finger 0 is pinky.
+ float gyro[3];
+ float magn[3];
+ float accel[3];
int lastPkgTime;
};

