qtux / myo-raw

A Python library to communicate with the Thalmic Myo
MIT License
8 stars 4 forks source link

Clarification Regarding Sampling Rates #9

Open willfwilson opened 2 years ago

willfwilson commented 2 years ago

I've been using the myo-record script to record IMU and EMG data, at 50Hz and 200Hz (EMG Mode 3) respectively. The former appears to be functioning as I'd expected, with IMU samples recorded at approx. 20ms apart, however the latter seems to be recording a pair of EMG samples every 10ms, instead of one every 5ms.

I was hoping to seek clarification as to whether this is expected or if there is an error in my implementation.

qtux commented 2 years ago

This is the expected behavior, see also http://developerblog.myo.com/myocraft-emg-in-the-bluetooth-protocol/ for more implementation details.