JJRobots COMMUNITY
About osc protocol - Printable Version

+- JJRobots COMMUNITY (http://forums.jjrobots.com)
+-- Forum: JJrobots (/forum-1.html)
+--- Forum: B-Robot (/forum-2.html)
+--- Thread: About osc protocol (/thread-733.html)



About osc protocol - Pat78 - 08-12-2015 08:01 PM

Hello
I build a B-Robot, but instead of touchosc application I tried to use the free Oscillation app from Workproaudio.
But it looks like the page format is not supported : no message received with the BROBOT.touchosc layout …
I used this solution:
- Edit with TouchOSCEditor the layout, and replace the ”/x/” by “/x-“ (x= page number) for all the controls (non auto mode naming)
- In “JJROBOTS_OSC.cpp” : in JJROBOTS_OSC_Class::MsgRead
replace if ((UDPBuffer[0] == '/')&&(UDPBuffer[2] == '/'))
by if ((UDPBuffer[0] == '-')&&(UDPBuffer[2] == '/'))

And it’s all ! if it can help someone …
Patrick


RE: About osc protocol - saturno - 09-23-2015 12:49 PM

Hi Patrick,

Thanks for sharing your solution with the free alternative Oscillation.
I tried myself and it worked like a charm ;-)

I am building a custom version of the B-Robot myself (no 3D printed parts) and the early prototype is starting to work.
Thanks again!


RE: About osc protocol - JJrobots JP - 10-06-2015 11:11 PM

Thank you Patrick,
If you don't mind, we will include this OSC software option in the main webpage. It is a free alternative! ;-)

Cheers


RE: About osc protocol - michael_s - 11-06-2015 07:26 PM

(08-12-2015 08:01 PM)Pat78 Wrote:  Hello
I build a B-Robot, but instead of touchosc application I tried to use the free Oscillation app from Workproaudio.
But it looks like the page format is not supported : no message received with the BROBOT.touchosc layout …
I used this solution:
- Edit with TouchOSCEditor the layout, and replace the ”/x/” by “/x-“ (x= page number) for all the controls (non auto mode naming)
- In “JJROBOTS_OSC.cpp” : in JJROBOTS_OSC_Class::MsgRead
replace if ((UDPBuffer[0] == '/')&&(UDPBuffer[2] == '/'))
by if ((UDPBuffer[0] == '-')&&(UDPBuffer[2] == '/'))

And it’s all ! if it can help someone …
Patrick

Nice work !

Can you share your osc layout ?


RE: About osc protocol - rosbot - 06-27-2016 12:54 PM

Hi,

have you shared new osc?

I tried to modify touchosc as you said but doesn't work.

Are you sure the new line would be if ((UDPBuffer[0] == '-')&&(UDPBuffer[2] == '/'))

Due to new controls naming "/x-" may be it would be if ((UDPBuffer[0] == '/')&&(UDPBuffer[2] == '-'))

I'll try last one and inform you asap.

thanks in advance
Rosario


RE: About osc protocol - Ing. Lucian - 06-28-2016 04:39 AM

not work for me, I used TouchOSC, downloaded around

-----------------------------------------------------------------------------------------------------------------------

no trabajó para mi, usé TouchOSC, descargué por ahí