[STICKY] Gipsa-lab OpenVibe extensions

Come here to discuss about OpenViBE in general!
toncho11
Posts: 124
Joined: Tue Apr 19, 2011 7:58 pm

[STICKY] Gipsa-lab OpenVibe extensions

Post by toncho11 »

Our team at Gibsa-lab produces extensions for the OpenViBE (OV) platform.

Update:
We now have a multiplayer version of Brain Invaders where you can play in cooperative or competitive mode.

Homepage: https://bitbucket.org/toncho11/openvibe ... s/overview

1) Brain Invaders - a cool BCI game that utilize P300
https://bitbucket.org/toncho11/openvibe ... inInvaders

2) OpenVibe-plugins-gipsa - boxes for the OV platform
  • Updated xDawn Trainer - spatial filtering for P300 SNR enhancement
  • Riemman Potato - unsupervised and automatic EEG artifact rejection
  • Parallel Port to Stimulation - converts a list of numeric values to Stimulations
  • Stimulation Transformer - converts a list of stimulations to another list of stimulations
  • Stream Matrix Merger - combines two matrices into a single streamed matrix
  • Tagger - Performs hardware tagging or/and software tagging based on input stimulations. It does not visually stimulate the user.
  • P300 Tagger - performs P300 visual stimulations to the user and tags each flash using hardware or software method. This box is an upgrade of P300 Speller Visualisation developed by INRIA.
https://bitbucket.org/toncho11/openvibe ... Deployment

3) Enhanced P300 scenarios for OpenVibe
https://bitbucket.org/toncho11/openvibe ... 0Scenarios

4) An updated OpenVibe Acquisition Server with:
- reworked GTEC driver that avoids signal lost
- added software tagging which allows the Acquisition server to receive stimulations from external applications

Enjoy!

- Anton
Last edited by toncho11 on Wed Oct 28, 2015 1:37 pm, edited 6 times in total.

toncho11
Posts: 124
Joined: Tue Apr 19, 2011 7:58 pm

Re: Gipsa-lab OpenVibe extensions

Post by toncho11 »

The OpenVibe Gipsa Extensions comes with a Windows installer that deploys all of the above.

You can start playing Brain Invaders (BI) directly from the start menu. BI comes with a launcher program that configures it before execution.

toncho11
Posts: 124
Joined: Tue Apr 19, 2011 7:58 pm

Re: Gipsa-lab OpenVibe extensions

Post by toncho11 »

New version of our P300 game Brain Invaders has been released version 1.5 along with everything else we develop for OpenVibe.

Enjoy :)

fabien.lotte
Posts: 112
Joined: Sun Mar 14, 2010 12:58 pm

Re: Gipsa-lab OpenVibe extensions

Post by fabien.lotte »

Dear Anton,

Thank you very much for these extensions for OpenViBE. They are really useful! We were indeed needing the software/hardware tagging and the multi-amp version of the gUSBAmp, so really thank you!

One question though: we also use with the gUSBAmp other sensors than EEG (e.g., pulse or GSR sensors, that plug into the gUSBAmp - see http://www.gtec.at/Products/Electrodes- ... s-Features), and with the gipsa lab extension it does not work (we don't get any signal), whereas it worked with the old gUSBAmp driver. I was therefore wondering whether there was some specific parameters to use in the driver, or if this might be a bug?

Thank you very much in advance

Best regards,
Fabien

toncho11
Posts: 124
Joined: Tue Apr 19, 2011 7:58 pm

Re: Gipsa-lab OpenVibe extensions

Post by toncho11 »

Hello Fabien,

Thanks for your appreciation of our work.

So for the syncing of the amplifiers, please note that the driver sets the master and slaves by itself. This is because there is no UI for these settings currently. You need to plug the devices, start the driver and see which serial numbers are slaves and which is the master. Then configure the sync cable accordingly (the gTEC documentation).

Please elaborate more about your question. We never tried this, so I am a bit confused how it works. You use a sensor plugged as an electrode, right? How do you know it is not working? What is the exact difference between the official OV version and our Gipsa version that you have identified.

Regards,
Anton

fabien.lotte
Posts: 112
Joined: Sun Mar 14, 2010 12:58 pm

Re: [STICKY] Gipsa-lab OpenVibe extensions

Post by fabien.lotte »

Hi Anton,

Thank you for your answer. Indeed we are using alternative sensors, not EEG, that are plugs in the amplifier as other EEG channels (there is a difference though, each of these sensors is plugged on its own reference and ground input. Do you see what I mean? I can send you a picture of it if needed). With the regular OpenViBE gUSBAmp driver, we got the signal in real-time and could visualize it and process it using the OpenViBE designer. However, when we installed the GIPSA-lab version, we didn't get a signal anymore: the acquisition server did not receive any data. So we were wondering whether specific parameters should be used (maybe to deal with the fact that each sensor has its own reference and ground) or if this was something else.

Thank you in advance,

best regards,
Fabien

toncho11
Posts: 124
Joined: Tue Apr 19, 2011 7:58 pm

Re: [STICKY] Gipsa-lab OpenVibe extensions

Post by toncho11 »

Hello Fabien,

I have checked the ground and reference code for the new driver and it looks the same as for the old one. It should work when only one device is used.

In the multiple device setup the same configuration is applied to all the amplifiers and probably this is the problem. For your external sensor you need a separate ground and then you need to configure this somehow, but the UI is the same for all devices.

So the possible solution is to create a UI that allows for setting the ground and reference per device.

Hope this helps,
Anton

sumitsoman
Posts: 16
Joined: Thu Oct 11, 2012 11:24 am

Re: [STICKY] Gipsa-lab OpenVibe extensions

Post by sumitsoman »

There seems to be an issue with using the Brain Invaders game and GIPSA Lab extensions for OpenVibe when using the BrainProducts Actichamp amplifier (http://www.brainproducts.com/productdet ... d=42&tab=3) for EEG signal acquisition.

This amplifier uses PyCorder (http://www.brainproducts.com/productdet ... d=43&tab=2) for EEG recording and adjusting the impedances of the electrodes. PyCorder requires specific versions of Python, as follows:

Code: Select all

PyCorder: The following libraries are missing or have the wrong version

- Wrong Python version (2.7.3 (default, Apr 10 2012, 23:31:26) [MSC v.1500 32 bit (Intel)]), please install Python 2.6
- Wrong NumPy version (1.6.2), please install NumPy ('1.3.0', '1.4.1')
- SciPy missing, please install SciPy ('0.7.1', '0.8.0')
- PyQt missing, please install PyQt ('4.5.2', '4.6.3')
- PyQwt missing, please install PyQwt ('5.2.1',)
- lxml missing, please install lxml ('2.2.4', '2.2.7')
However, OpenVibe GIPSA extensions installer installs other versions, as indicated above. Is there any workaround to this other than re-installing Python for running PyCorder? It is required as the electrode impedances need to be calibrated prior to using the ActiChamp amplifier and running the GIPSA OpenVibe scenarios.

toncho11
Posts: 124
Joined: Tue Apr 19, 2011 7:58 pm

Re: [STICKY] Gipsa-lab OpenVibe extensions

Post by toncho11 »

Hello,

I am managing the installer of Gipsa-extensions.

We supply Python 2.7.3 32bits because this is the version recommended and tested by the OpenVibe team.

I suggest that you try to manage both versions simultaneously. Try to change the variable "path". You can see it in cmd if you type:

Code: Select all

echo %path%
Remove the path to python in this environment variable on a global level and then:

Write/modify a bat file that adds the path to 2.6 just before calling PyCorder and Acquisition Server.

Write/modify a bat file that adds the path to 2.7.3 just before calling the OpenVibe Designer.

sumitsoman
Posts: 16
Joined: Thu Oct 11, 2012 11:24 am

Re: [STICKY] Gipsa-lab OpenVibe extensions

Post by sumitsoman »

There seems to be an issue with using the GIPSA extensions for OpenVibe with the BrainProducts ActiChamp EEG amplifier.

After installing the GIPSA extensions, using the executable gipsa-setup-main-1.6.exe, if we run the OpenVibe acquisition server, the BrainProducts ActiChamp does not appear in the list of drivers. This appears in the list on re-installing OpenVibe.

How can this issue be resolved in order to run the GIPSA scenarios with ActiChamp as the acquisition device?

Also regarding the previous post, could you provide details as to which file has to be edited/ how to change path variable on application launch?
Write/modify a bat file that adds the path to 2.6 just before calling PyCorder and Acquisition Server.

Write/modify a bat file that adds the path to 2.7.3 just before calling the OpenVibe Designer.

toncho11
Posts: 124
Joined: Tue Apr 19, 2011 7:58 pm

Re: [STICKY] Gipsa-lab OpenVibe extensions

Post by toncho11 »

Hi,

Yes, the problem exists because, Gipsa-installer overrides your acquisition server (the one provided by OpenVibe team) with our version. Our version has certain improvements, but lacks a number of drivers. The reason is technical and this is documented on our web-site.

Once you install OpenVibe - make a backup copy of "openvibe-acquisition-server-dynamic.exe" from OpenVibe's bin folder. Then use our installer that will replace the file and then revert it with your backup. Our next version will allow for skipping the acquisition server replacement. I am sorry for this inconvenience.

Regards,
Anton
Gipsa
Last edited by toncho11 on Mon Jun 10, 2013 8:53 am, edited 1 time in total.

toncho11
Posts: 124
Joined: Tue Apr 19, 2011 7:58 pm

Re: [STICKY] Gipsa-lab OpenVibe extensions

Post by toncho11 »

1. You have to remove the path to python from the global level: my computer -> properties -> adv system settings -> env variables -> system variables -> path ->

explore the string and remove the path.

2. Modify openvibe-acquisition-server.cmd and add the path to 2.6 like this in the beginning:

PATH=%PATH%;C:\my_python_2.6;

3. Modify openvibe-designer.cmd and add the path to 2.7.3 like this:

PATH=%PATH%;C:\my_python_2.7.3;

toncho11
Posts: 124
Joined: Tue Apr 19, 2011 7:58 pm

Re: [STICKY] Gipsa-lab OpenVibe extensions

Post by toncho11 »

A new version has been released compatible with OpenVibe 0.16.

toncho11
Posts: 124
Joined: Tue Apr 19, 2011 7:58 pm

Re: [STICKY] Gipsa-lab OpenVibe extensions

Post by toncho11 »

Version 1.9.6 has been released.

Added the new MDM signal multi-class classificator. Implementation is in both C++ and Python; Added scenarios that use the MDM for P300 and motor imagery. The adaptive version of P300 with MDM for Brain Invaders works without training, but requires a certain electrode montage; Added two boxes for resampling and merging of data streams in OpenVibe. Added Brainamp writer OpenVibe box. The Brain Invaders launcher has a new dropdown in "Advanced" that will automatically start both BI and OV with the correct scenarios according to your configuration.

toncho11
Posts: 124
Joined: Tue Apr 19, 2011 7:58 pm

Re: [STICKY] Gipsa-lab OpenVibe extensions

Post by toncho11 »

New version 2.0 released:

https://bitbucket.org/toncho11/openvibe ... /Downloads

Some new options were added. Some more testing has been done. We have the new boxes from the previous releases.
Last edited by toncho11 on Wed Oct 12, 2016 12:50 pm, edited 1 time in total.

Post Reply