Openvibe and Unity

Working with OpenViBE signal processing scenarios and doing scenario/BCI design
Post Reply
arianna
Posts: 3
Joined: Mon Dec 14, 2020 11:39 am

Openvibe and Unity

Post by arianna »

Hi everyone. I am very new to Openvibe and virtual reality, and I'm trying to build a BCI in order to modify a virtual enviroenment in Unity according to the classification output.
To start, I have used the tutorial "rolling ball" that receives an LSL input from unity and moves the ball accordingly to the sinus generated by the box 'sinus oscillator'. I then tried to modify this to use a marker, and not a signal (I tried keyboard stimulation or clock stimulation) but I did'nt manage to import the LSL stream into unity. Does anybody know how to do it? how are markers sent (int, bool, etc)?
Do you think it is better to use the VRPN connection? In case, can anybody give me an example of C# code, in order to import the output of a classifier into unity through VRPN?
I really thank everyone who will help me, these might be easy questions but I am really at the beginning and don't know how to move.
Thaank you a lot.

Thibaut
Posts: 264
Joined: Wed Oct 31, 2018 9:14 am

Re: Openvibe and Unity

Post by Thibaut »

Hi,
I have had 2 tutorial games with unity, (one revceive signal and marker, second send signal and marker)
https://gitlab.inria.fr/openvibe/unity-games
And you have in openvbie 3.0.0 the 2 associated boxes.
Thibaut

Post Reply