OpenViBE forum

The OpenViBE community
It is currently Wed Feb 20, 2019 7:09 pm

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Jan 06, 2016 1:45 pm 
Offline

Joined: Wed Jan 06, 2016 11:42 am
Posts: 2
hello,

I would like to use the "LSL Export (Gipsa)" box to send the output of the classifier (SVM) to a python script in order to control motors via an Arduino.
the thing is that the output of the classifier is a "Streamed Matrix" while the LSL box takes "Signals" as input.

would you have an idea about how I could do that?

thank you very much,

camille


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 08, 2016 8:30 am 
Offline

Joined: Tue Dec 04, 2012 3:53 pm
Posts: 777
Location: INRIA Rennes, FRANCE
Hi Camille,

you could try the following (no guarantees). Set the following top secret token in openvibe.conf,

Code:
Designer_AllowUpCastConnection = True


and then connect the Classifier Processor to Matrix Transpose (this is to upgrade the 1-dimensional 'matrix' to a 2-dimensional one understood by the export box), and then this transpose to the LSL Export. It just might work, although the resulting sampling rate in the stream will be 0.

Let us know if it works. :)

Happy hacking,
Jussi


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 08, 2016 2:05 pm 
Offline

Joined: Wed Jan 06, 2016 11:42 am
Posts: 2
Jussi,

It works!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
You cannot imagine how released I am ;)

Thank you very much,
Cheers,

camille


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: No registered users 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.