Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

setting up OSC ports #16

Open
anjtb opened this issue Dec 10, 2020 · 7 comments
Open

setting up OSC ports #16

anjtb opened this issue Dec 10, 2020 · 7 comments

Comments

@anjtb
Copy link

anjtb commented Dec 10, 2020

I don't seem to be able to edit the OSC ports. How do I get to the TransportConfiguration Collection Editor window?

The Wiki suggests there is a script called osc.bonsai, but I can't locate it.

Sorry if this is an obvious question!

@alejoe91
Copy link
Contributor

Hi,

The osc.bonsai is in the Bonsai folder (https://github.com/CINPLA/tracking-plugin/tree/master/Bonsai).

Cheers
Alessio

@anjtb
Copy link
Author

anjtb commented Dec 10, 2020

Ah, Ok. It has a .config extension - maybe that's why I was confused. Do I use this .config file in the same way as a .bonsai file?

@alejoe91
Copy link
Contributor

It should be automatically detected by the bonsai script.

@anjtb
Copy link
Author

anjtb commented Dec 10, 2020

Ah, OK.

I still can't get to the TransportConfiguration Collection Editor window shown on the Wiki.

I also couldn't find the Osc Design Library package- I was wondering if this was the problem?

@alejoe91
Copy link
Contributor

Yes I think it could be the problem. Also we haven't really tested with Bonsai>=2.3, so there might have been some design changes. Since this is Bonsai-related, maybe a good place to ask would be the Bonsai forum or gitter channel!

@hwpdalgleish
Copy link

Hi both, I found this thread while trying to solve a similar issue (using Bonsai 2.6.2) and have subsequently solved it so thought I'd post if useful. @alejoe91 is right - Bonsai has changed the way you set up OSC channels so you no longer need to use the config script. Instead you need to:

  • set up two udp clients at the top of the workflow (search udp in the "search modules" bar in the Toolbox window on the left of the Bonsai window and create two of them). One is going to be the red port, the other the green port. Click on each and input the relevant details in the Properties window on the right (Name, Port, RemoteHostName and RemotePort - these are the same values as depicted in the screenshots of the original Bonsai workflow here https://github.com/CINPLA/tracking-plugin/wiki). See below my example of the right-hand side of the Bonsai workflow demonstrating this for the RedPort (note it is highlighted white):
    OSC_setup

  • connect each SendMessage module to its corresponding udp client by clicking on each and entering the corresponding Address and Connection in the Properties window on the right. See below for the SendMessage module connected to the RedPort (note it is highlighted white):
    OSC_output

Now you should be able to add the Tracking Port and Tracking Visual and input the corresponding Port and Address for each SendMessage+udp in the Tracking Port to pull in the data from Bonsai.

Hope this helps!

@alejoe91
Copy link
Contributor

alejoe91 commented Apr 2, 2021

Hi @hwpdalgleish

Thank you very much for this!!! I'll update the wiki accordingly :)

Happy Easter!
Alessio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants