Difference between raw data received by PC and by Android


by TGoritsky

Difference between raw data received by PC and by Android

Right now I am playing with two projects:
https://github.com/meleap/myo_AndoridEMG - raw EMG data for Android.
https://github.com/dzhu/myo-raw - raw EMG data for Linux.

I noticed a difference in received data. Android receives data between -128 and 128 and Linux receives data that is always >0 (filtered, as I believe). Is there a way to get filtered data on Android?
by fharper

Difference between raw data received by PC and by Android

On the Mac using the SDK from Thalmic, I'm seeing positive and negative values. I'm not sure what the meaning of the negative numbers is though.

If you only want positive measurements, you can either ignore the negative ones, or take the absolute value.
by fharper

Difference between raw data received by PC and by Android

What I wrote above is incorrect.

The data you are seeing from Android is filtered. The relevant code is here

The emg_mode is set to 2. The BLE docs from Thalmic say that means the EMG data is filtered.

I don't know why the Python code is displaying data that is always >= 0, but it doesn't have anything to do with EMG data filtering.
Moderator control