Skip to content

Commit

Permalink
Update for 2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-toma committed Apr 1, 2016
1 parent 81e41c4 commit 66cc691
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,26 +7,23 @@ Access data from Thalmic Labs' Myo Gesture Control Armband in m-code!

Thalmic Labs' Myo Gesture Control Armband (myo.com) features an Inertial Measurement Unit (IMU) and 8 surface Electromyography sensors (sEMG) in addition to a nice Windows SDK that allows developers to obtain access to this data!

On the surface, this package contains a simplified m-code class, MyoMex, that enables MATLAB users to stream data from Myo at up to 50Hz with as few as 4 commands:
On the surface, this package contains a simplified m-code class, MyoMex, that enables MATLAB users to stream data from Myo at up to 50Hz (IMU) and 200Hz (EMG and meta data) with only 1 command!

m = MyoMex();
m.startStreaming();
% Data is now being pushed into log properties named,
mm = MyoMex(); % Upon construction, MyoMex starts accumulating streaming data in its myoData property
m = mm.myoData; % get MyoData object
% Data is now being pushed into log properties of m named,
% quat_log, gyro_log, accel_log, emg_log, etc.
% Data acquisition is non-blocking, too!
m.stopStreaming();
m.delete();
mm.delete(); % clean up

The IMU data includes estimated quaternion (orientation), three-axis gyroscope (angular velocity), and three-axis accelerometer (linear acceleration).

The sEMG data includes 8 raw data channels plus the output of Myo's built-in gesture detection.

Here are some of the things that you'll find in this package,

* READ_ME.txt - Step-by-step instructions for prerequisite configuration
* README.txt - Step-by-step instructions for prerequisite configuration
* install_myo_mex() - installation tool
* build_myo_mex() - MEX-file build tool
* MyoMex_Quickstart - Quickstart guide script with example code and liberal comments
* MyoMexGUI_Monitor - GUI implementation of streaming data with visualization of all available data

Under the hood, the MyoMex class depends on a MEX-file named myo_mex. This MEX-file implements the Myo SDK API to communicate with Myo and provide the interface between C++ and m-code.

0 comments on commit 66cc691

Please sign in to comment.