Labstreaming Layer/ LSL4Unity

Obtaining data from various hardware devices
Post Reply
AYDLINN
Posts: 16
Joined: Thu Mar 29, 2018 6:28 am
Location: Bask Country
Contact:

Labstreaming Layer/ LSL4Unity

Post by AYDLINN »

Hi guys

I am creating a liason between emotic, openVibe and Unity3D.


-> I connect Emotic with Terminal ( it's connect to OpenVibe)
-> In Unity 3D, I creat the VR environment, and the stream, markers...
-> in open Vibe, I follow the Motor-Imagery CSP scenario.

So I question myself what's the next step after?
Cause i read a lot of papers but I don't find a clear solution?

Thank you.

jtlindgren
Posts: 778
Joined: Tue Dec 04, 2012 3:53 pm
Location: INRIA Rennes, FRANCE

Re: Labstreaming Layer/ LSL4Unity

Post by jtlindgren »

Hi,

as far as I understand you'd want to send the predictions of the motor imagery online scenario (classifier processor box) to Unity. This could be done with various different ways, such as LSL, vrpn, or tcp writer. I think some users have managed to do it before (try google 'openvibe unity' or similar). The communication methods are briefly described on

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

The markers can be sent from Unity to acquisition server using TCP Tagging.

If this communication between OV/Unity is not what you meant, please be more specific. :)

Best,
Jussi

AYDLINN
Posts: 16
Joined: Thu Mar 29, 2018 6:28 am
Location: Bask Country
Contact:

Re: Labstreaming Layer/ LSL4Unity

Post by AYDLINN »

Hi
Thanks for your answer.

In fact I take this code : https://github.com/xfleckx/LSL4Unity to put on Unity.
In Unity, I saw the samples scrolled.
But my object actually doesn't move.


So I don't know how to use what kind of scenarios in OpenVibe.
I've heard of Lsl as driver but it's unstable.

Ok i will check it :)

AYDLINN
Posts: 16
Joined: Thu Mar 29, 2018 6:28 am
Location: Bask Country
Contact:

Re: Labstreaming Layer/ LSL4Unity

Post by AYDLINN »

I met a problem.

I must to transform a VRPN Stream to a set of LSL streams.
But how can I do it?

AYDLINN
Posts: 16
Joined: Thu Mar 29, 2018 6:28 am
Location: Bask Country
Contact:

Re: Labstreaming Layer/ LSL4Unity

Post by AYDLINN »

Hi everyone
So i worked about this problems.

Maybe I find the scenario. But talking with a friend he told me how I use an LSL stream for Unity I have to convert it to transform a VRPN Stream to a set of LSL streams. to Write with a python script or a c++ app implementing the vrpn client and on each message recieved it would select or aggregate the data and push it as samples to an LSL stream.

But how can i find these kinds of scripts? thank you.

Post Reply