OpenViBE forum

The OpenViBE community
It is currently Fri Oct 19, 2018 5:59 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed May 11, 2016 1:13 pm 
Offline

Joined: Wed May 11, 2016 11:55 am
Posts: 2
Hi,
I am currently trying to develop a BCI using an Emotiv Epoc and a Novint falcon haptic device as the output device. Using Openvibe I can receive the emotiv data fine and I will test out the motor imagery examples but I would like to output online classification predictions to the haptic device.

I have seen the vrpn tutorial for application output, though to be honest I found it tricky as I am not familiar with c++. The output device uses Chai3D with key presses used to move its arm left or right. When this is running I can send a key press from matlab to Chai3D So from within Openvibe how would I go about sending a command or key press to another application based on each online prediction?

Is it easier to send this directly to Chai3D (if possible) or perhaps send the prediction to matlab and then onto Chai3D (if the vrpn stuff works with matlab)?

Thank you


Top
 Profile  
Reply with quote  
PostPosted: Mon May 16, 2016 2:48 pm 
Offline

Joined: Wed May 11, 2016 11:55 am
Posts: 2
Ok so I've got the openvibe to vrpn tutorial example working. I've also tried hooking up the buton and analog boxes to my online scenario.

Connecting the classifier 'labels [stimulations]' output to a button vrpn box does not print anything but I suspect that's the C++ code. It is at least conencted to the vrpn.
Is this the output that would give a single prediction value?

On the other hand connecting the classifiers other outputs, probability values or hyperplane distances, to an analog vrpn box gives a constant stream of values that I can't imagine using.

Is there a way to output a single classification value computed after the online stimulus presentation?
I basically just want to externally compute, if the prediction is this... send command to move the arm.

The C++ code completely baffles me, so if the prediction could be sent to matlab that would be preferable.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jul 22, 2016 11:41 am 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 760
Location: INRIA Rennes, FRANCE
Hi Techn, sorry for the late reply! You can send stimulations to Matlab using the Matlab scripting box, or perhaps LabStreamingLayer. To send stimulations out from VRPN, you need to use the VRPN Button Client. There's several scenarios in OpenViBE (including the basic SSVEP demo - not the mind shooter) that do this, the corresponding reception coded on the C++ client side. In

/applications/examples/openvibe-to-vrpn/

You will see a simple C++ client to receive stimulations (button presses) from OV.

In general, you can see different communication ways described here,

http://openvibe.inria.fr/overview-sendi ... -openvibe/

Happy hacking,
Jussi


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Google [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Americanized by Maƫl Soucaze.