Grasshopper

algorithmic modeling for Rhino

https://www.youtube.com/watch?v=iuCGDxFNrDQ&feature=player_deta...

Hello world!

I'm in a trouble with UDP receiver for OSC messages. I have a "Neural Transmission" which is sending a 28 channels of information in groups, and I don't know how to separate them, in differentiated lines to work with each value. The information appears and disappear , with a flickering behavior. This are the different channels, with the name of each one, and the value inherited, from each source. What can I do to separate them!!!??

 

/EXP/WINK_LEFT

0

/EXP/WINK_RIGHT

0

/EXP/BLINK

0

/EXP/LEFT_LID

0

/EXP/RIGHT_LID

0

/EXP/HORIEYE

0

/EXP/VERTEYE

0

/EXP/SMILE

0.2

/EXP/CLENCH

0

/EXP/LAUGH

0

/EXP/SMIRK_LEFT

0

/EXP/SMIRK_RIGHT

0

/EXP/FURROW

0

/EXP/EYEBROW

0.5

 

 

 

/AFF/Engaged/Bored

0.5

/AFF/Excitement

0.2

/AFF/Excitement Long Term

0.2

/AFF/Meditation

0.4

/AFF/Frustration

0.5

 

 

 

/COG/LIFT

0.3

/COG/DROP

0.4

/COG/PUSH

0

/COG/LEFT

0

/COG/RIGHT

0

/COG/LEFT

0

/COG/ROTATE RIGHT

0

/COG/ROTATE LEFT

0

Views: 1380

Replies to This Discussion

in this video you can see whats going on

 

http://youtu.be/iuCGDxFNrDQ

Hi Carlos,

I think there is a OSC Dispatch component which will split out the data you need.  I think you just have to change the name of the component to the title of the message you've received.  As a second option, you should be able to use the Firefly OSC Listener component which instead separates each new OSC message that has a new title (at least a new message title that it hasn't encountered)... it will create a new data tree.  So, your entire list would come in as a data tree, and then you can just use the standard Tree Item to retrieve the data you want.

HTH,

Andy

Use the OSC Channel or OSC Dispatch to organize the outputs.  The OSC Channel will take the channel name (in you example could be /EXP/WINK_LEFT).  Right click on the OSC Channel component and change the name to /EXP/WINK_LEFT.  That Value will then be stored.  Alternatively you can use the OSC Dispatch and give it a list of your channels.  It will output a list of values in the same order.

Ok I have individualized the signals for one of the information lists with list items. but... the other 2 lists of information still are flickering!.... The names of the three information list that are flickering... are the ones below:

/EXP

/COG  

/AFF

I have to individualize the values with the number of the row where they are, (using the list items component). I have tried with the  OSC channel but... where should I write the name of the string?? what should I connect with this component...?? I'm not so familiar with it.

I have sent you an screen shot!

Your screenshot is too small for me to make anything out.  Look at this image for how to set the name of the OSC Channel.  For the OSC Dispatch, give a it a list like below to the 'D' input.  The data from the Receiver should go into the 'M' input.

/EXP/WINK_LEFT

/EXP/WINK_RIGHT

/EXP/BLINK

/EXP/LEFT_LID

/EXP/RIGHT_LID

/EXP/HORIEYE

/EXP/VERTEYE

/EXP/SMILE

/EXP/CLENCH

/EXP/LAUGH

/EXP/SMIRK_LEFT

/EXP/SMIRK_RIGHT

/EXP/FURROW

/EXP/EYEBROW

/AFF/Engaged/Bored

/AFF/Excitement

/AFF/Excitement Long Term

/AFF/Meditation

/AFF/Frustration

/COG/LIFT

/COG/DROP

/COG/PUSH

/COG/LEFT

/COG/RIGHT

/COG/LEFT

/COG/ROTATE RIGHT

/COG/ROTATE LEFT

OK!!!

THE PROBLEM IS ALLREADY SOLVED!!!

THANK YOU VERY MUCH!!

Hi guys

im using epoc as well

everything is fine

but im only getting exp data

i have not been able to get aff and cog data using ghowl

do you know why this happens??

please see image attached

thanks so much

Attachments:

I am also having the same problem where only the exp data is listed via ghowl did anybody manage to get AFF and COG to stream or is this a problem with mindyourosc's. 

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2022   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service