Comments (6)
yeah, the docs are clearly wrong... for example, the docs reference AF8, but that sensor does not exist in the code
it appears to be magic.
I just tried reading the values with normal bitshifting techniques, and I do not get wave-like patterns at all... there is one thing correct in the docs, and that is the battery is part of the counter... I also managed to, what appears, get the signal strength on bits 112:119 ... ie. when connected to the normal epoc app, I get similar signal strength... (using a normal bit shifting, not that crazy magic).
the reality is, I'm quite lost on the signal strength deal... I'm just gonna go with it for now and hook it up to a visualizer. seems something is working, cause I am getting wave-like numbers :)
from emokit.
The sensor not existing in the code doesn't mean the doc is wrong. The doc was not derived from the code, it was derived from information I was sent by someone who reworked the packet layout. :)
We are actually missing 2 sensors in the code (notice there's 16 sensors on the headset, 14 in the code).
In the end, I'd like to get a better corelation between the doc and the code. It does look pretty magic at the moment, but I swear it does actually make a very odd sort of sense.
from emokit.
yeah, I know :)
I spent a good amount of time trying to figure that magic out with nearly no success.
- I have no idea how to get the data for the remaining two sensors. the magic is a bit over my head
- as for mapping the signal quality to the correct sensors, I figured I would do that as soon as my first working prototype is done. this would also give me a hint as to which two sensors were missing. I was going to overlay the connection data over a head model. like in the app.
as for the first version of the prototype. come back later today, as I'm putting the final touches on the visualizer now. just added the fft for the spectrum data. webgl/three.js rocks!
from emokit.
I think the two sensors that are missing from the code are only there to make sure the headset is in place, which then turns on the quality reading for all the other sensors. Take one out and the quality will not be reported. They are the two interchangeable sensors on each side. I'm pretty sure I've exhausted all possible bit mask combinations to get a value out of them. I spent the better part of a day trying to figure this out.
TP7 and TP8 are the question marks on either side, respectively.
Here is a crude mapping diagram:
I've documented some of the patterns for the bit masks on my fork's wiki. Might help someone figure it out.
from emokit.
Confirming that Emotiv's software doesn't show readout for a TP7 or TP8 either. This issue can be closed the docs need to revert back to AF3 and AF4 also. Per the Emotiv documentation located here: http://emotiv.com/eeg/download_specs.php
from emokit.
Hi,
I also didn't understood the difference between the channel data bits Indexes given in the doc
https://github.com/bschumacher/emokit-1/blob/master/doc/emotiv_protocol.asciidoc
and the bits indexes used in the code (emotiv.py -> sensorBits)
For example, for F3 sensor, the doc indicates 8:21 bits but the code takes [10, 11, 12, 13, 14, 15, 0, 1, 2, 3, 4, 5, 6, 7] bits.
Is the doc wrong or did I miss something ?
Thanks
from emokit.
Related Issues (20)
- Mapping Facial Expressions to Raspberry Pi HOT 1
- compilation error
- Graphical Interface for raw data and PSD
- Looking for yet another project lead? HOT 15
- Epoc+ and horrific terms HOT 10
- Discord server invite link no longer valid HOT 1
- RuntimeError: Could not find the hidapi shared library. HOT 7
- support for 2018 epoc+ HOT 1
- Epoc+ 2017 Support HOT 4
- The Emokit code, through the years...
- A question regarding emotiv_values and emotiv_data values.
- Hacking it: Choosing the right USB port HOT 1
- Emokit: Beginner
- Battery error HOT 2
- Getting almost every quality value as None HOT 4
- Emotiv INSIGHT!!! HOT 1
- Support for Ubuntu?
- name 'emotiv' is not defined HOT 2
- recurring of reader restart and reader stopping
- Does it work with the new Epoch X? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emokit.