Page 1 of 1

Labstreaming Layer/ LSL4Unity

Posted: Thu May 10, 2018 3:58 pm
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.

Re: Labstreaming Layer/ LSL4Unity

Posted: Mon May 21, 2018 5:04 pm
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

Re: Labstreaming Layer/ LSL4Unity

Posted: Wed May 23, 2018 7:35 pm
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 :)

Re: Labstreaming Layer/ LSL4Unity

Posted: Thu May 31, 2018 9:52 am
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?

Re: Labstreaming Layer/ LSL4Unity

Posted: Mon Jun 04, 2018 4:06 pm
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.