Emotiv / cortex-example

Example with Cortex V2/V3 API
https://emotiv.com
MIT License
202 stars 115 forks source link

Cortex-v2 seems to have massively increased latency vs. Cortex-v1 #37

Closed shohamj closed 5 years ago

shohamj commented 5 years ago

Consider the following sample code:

https://gist.github.com/shohamj/ee93f5b86f226e84c98f11e8b8356404

On my system:

Example Output (No headsets are connected):
** Cortex V1 **
Connection took 0.0929114818572998 seconds
Query took 0.0009982585906982422 seconds
Headsets: []

** Cortex V2 **
Connection took 0.006994962692260742 seconds
Query took 1.0240464210510254 seconds
Headsets: []
nguoithichkhampha commented 5 years ago

@shohamj , thanks for your feedback. we will check again our system.

tungntEmotiv commented 5 years ago

Hi @shohamj , Thanks for your feedback. In our checking, the queryHeadsets time is around ~7 milliseconds. Please update the latest code of Cortex and re-check again. And could you give me more information such as: what is your device? and connect headset via dongle or bluetooth? and which is your OS? Thanks