Neurosky source on OS X
Posted: 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.
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.