Neurosky source on OS X

Forum for software developers to discuss BCI2000 software development
Locked
jrlane
Posts: 2
Joined: 23 Apr 2013, 17:28

Neurosky source on OS X

Post by jrlane » 27 Apr 2013, 16:46

I made a few attempts to get the Neurosky source module to compile on OS X but have failed so far. Looking through the code I didn't find too much that was Windows specific. The things that jumped out at me were the dll file which it appears, needs to be replaced with the ThinkGear.bundle that is provided in the MDK for use with OS X. Also there was an include for Win32Defs.h which wouldn't appear in an OS X system but I'm not sure what it is needed for. Finally the serial port is defined by a com# in Windows and usually /dev/MindWave... in OS X. I was hoping someone could help point me in the right direction here, as of now I have not been able to find documentation covering the creation of source modules.

Beyond that I realize the limitations of a single channel device are significant; what would be involved in splitting every other packet to a separate channel (allowing for a second channel to be streamed along with the existing channel). I assume that is something that would need to be done in the source module assuming the thinkgear connector will pass twice as many packets per second (and I don't see why it wouldn't off hand). I was thinking about hacking a few mindwaves and using a microcontroller with a bluetooth module to emulate the output, but interleaving the data from multiple sensor.

Any help would be appreciated, thanks.

boulay
Posts: 382
Joined: 25 Dec 2011, 21:14

Re: Neurosky source on OS X

Post by boulay » 27 Apr 2013, 20:42

jrlane wrote:I was hoping someone could help point me in the right direction here, as of now I have not been able to find documentation covering the creation of source modules.
I'm not sure how much help this will be but here is what I can find for source module documentation:
http://www.bci2000.org/wiki/index.php/P ... ion_Module

mellinger
Posts: 1341
Joined: 12 Feb 2003, 11:06

Re: Neurosky source on OS X

Post by mellinger » 29 Apr 2013, 09:11

Hi,

the Neurosky source module currently does not provide official support for OSX.
It was enabled in OSX builds by error.

If the OSX version of the Neurosky library is similar enough to the Windows version, it should be possible to compile and run it on OSX with minor modifications, though.

In that case, we would be greatly interested in incorporating your changes into the code.
Please let me know if you need further help.

Regards,
Juergen

Locked

Who is online

Users browsing this forum: No registered users and 0 guests