Tuesday, September 30, 2008

Moving and shaking

Ladies, gentlemen and on lookers,

Things have been going fairly smoothly the last few weeks.

1) My game written in blender will now communicate in real time with the EEG interface device via the parallel port. I'm using a library called pylpt embedded in the game to create the link and send the signal.

2) I have also successfully integrated the wii remote with my game. Excuse my french but this was a complete pain in the *#$! First, I had to find the right bluetooth adapter, because of the lax bluetooth standards the wiimote won't communicate with all bluetooth devices. Second, it would be difficult to embed the bluetooth connection with in the blender game engine, so I used an emulator called GlovePie. GlovePie uses a set of libraries to send the emulated wiiremote signal to the local host using open sound control or OSC. So, the OSC sends a packet to the local host with the wiimote status and during every pass of the game engine this packet is read.

3) THe game is working but not that the wii remote is integrated it isn't as stable. I think I need to rewrite the canned script emulating the wiimote to make it simpler.

I'm tired... time for bed!

Tuesday, September 16, 2008

The last four months

Geez I'm horrible about keeping up with these things.

1) I finished the game prototype. The timing is better but I have to change the stimuli to something much cooler.

2) I THOUGHT I was able to send signals from the game to the EEG interface device. This is done by sending signals via the parallel port. I am using python and in the testing environment I was using it seemed that python was switching on and off the bits. For some reason though when its connected to the EEG machine it doesn't want to trigger the events properly. Bother... I ordered another parallel cable because the one in the lab doesn't form a good connection and a device to show the state of the parallel ports. With the device attached little led lights will blink when the cable sends or receives a signal. Hopefully with these two devices I can fix this problem.

3) In talking with Dr. Keith and Jay we all think that using one keyboard might not give us the responses we want. So, I'm working on integrating the wii remote with my game prototype. Last night I was able to get the wii remote to communicate with the computer hopefully tonight or tomorrow, I will have the remote integrated with the game.

4) I've been reading a great book by Erol Basar called "Brain function and oscillations". He implicitly talks about looking at whole brain states in conjunction with Event Related Potentials. I need to start writing again soon and when I do I'll be relying heavily on this book.

Right now I am about a month behind schedule but I guess it is to be expected with such an extravagant project...