PerlinWarp / pyomyo

PyoMyo - Python Opensource Myo armband library
MIT License
130 stars 29 forks source link

IMU and EMG data #11

Open bn2022 opened 2 years ago

bn2022 commented 2 years ago

Hi Is there a way that I collect both IMU and EMG data at the same time?

smon1127 commented 2 years ago

Had the same question for my python web socket script for touchdesigner. Checkout this script. It's combining EMG and IMU data and sending it over UDP websocket. If I remember right Peter told me that the problem is that IMU and EMG have different refresh rates. While IMU sends 1 time data, EMG sends 5 times data... sth like that. Try to split the msg into IMU and EMG, it's not perfect but for my purposes it was good enough.