Page 1 of 1

Need help VRPN JAVA-howto receive stimulation from Java code

Posted: Mon Jun 24, 2013 4:19 am
by hatma
dear all..

I have been trying to develop a car driving simulator (to monitor driver's brain activity).

when the car collide wih obstacle, it has to send stimulation data to Openvibe, so we can record the precise time when the collision occur.

I have download the vrpn 07.30 , compile it, and succeed running the example.


But I still confuse how to send stimulation from Java code to Openvibe.

need help please :(
thanks

hatma

Re: Need help VRPN JAVA-howto receive stimulation from Java

Posted: Thu Jul 04, 2013 1:10 pm
by jlegeny
Hello,

if you can run a VRPN button server in you Java program, then you can use the VRPN Client box inside openvibe to listen to the button presses and assign stimulations to them.

Regards
Jozef

Re: Need help VRPN JAVA-howto receive stimulation from Java

Posted: Tue Jun 17, 2014 3:20 pm
by morozov
hatma, did you have any success with your approach?

I'm trying to do something very similar, just as jlegeny suggested, but can't find a method to send stimulation data from java_vrpn.

thanks!
Alex

Edit:
Should anyone ever come across this, here's a java vrpn server solution:
https://github.com/worosom/java_vrpn