alexandrebarachant / muse-lsl

Python script to stream EEG data from the muse 2016 headset
BSD 3-Clause "New" or "Revised" License
616 stars 182 forks source link

ACCELEROMETER AND GYRO Characteristics mixed up? #129

Closed pkerspe closed 4 years ago

pkerspe commented 4 years ago

I am currently working on a C++ Port of muse-lsl and while testing I was wondering if by any change the UUIDs for MUSE_GATT_ATTR_ACCELEROMETER and MUSE_GATT_ATTR_GYRO have been mixed up?

At least in my C++ programm I do get somewhat useful position dependent values when registering for the MUSE_GATT_ATTR_ACCELEROMETER characteristic. When registering MUSE_GATT_ATTR_GYRO I can see the value to rise when moving the headset around and go down when I stop the motion.

I might also have gotten something wrong, just maybe you can double check.

https://github.com/alexandrebarachant/muse-lsl/blob/3a98035c89132a53eb67d197ccf9f2937977f96f/muselsl/constants.py#L24

Using a Muse 2016 (MU02) model by the way

pkerspe commented 4 years ago

Never mind, can be closed. My perception of the terms Gyro and Accelerometer where just wrong :-)