Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   C/C++ (http://www.chiefdelphi.com/forums/forumdisplay.php?f=183)
-   -   OSC Library? (http://www.chiefdelphi.com/forums/showthread.php?t=121226)

Jay_To_The_Be 03-11-2013 10:27

OSC Library?
 
I'm currently working on a practice bot that has 6 wheels. I was wondering if anyone knows of an OSC Library compatible with the cRIO. And if there is one compatible, is there away of having something like my iPhone communicate directly with the cRIO over WiFi without having a middle man program on my laptop?

William Kunkel 05-11-2013 00:16

Re: OSC Library?
 
What do you mean by OSC? Googling turns up "Open Sound Control", but I'm not sure what that would be used for on a practice bot.

androb4 05-11-2013 11:19

Re: OSC Library?
 
Quote:

Originally Posted by Jay_To_The_Be (Post 1299918)
I'm currently working on a practice bot that has 6 wheels. I was wondering if anyone knows of an OSC Library compatible with the cRIO. And if there is one compatible, is there away of having something like my iPhone communicate directly with the cRIO over WiFi without having a middle man program on my laptop?

No. Nope. Impossible. :o

Domenic Rodriguez 05-11-2013 14:58

Re: OSC Library?
 
I'm also not that familiar with OSC, but I do know you should be able to write software to communicate from an iPhone to the cRIO over WiFi via TCP or UDP. A quick search here on the forums should give you some more information on the network code for the cRIO, and Apple has plenty of resources on the iOS side of things such as this article.

I'm going to venture a guess and assume you're trying to control a robot from an iOS device? If you're willing to use LabVIEW, I found this article from NI on how to use the NI OSC library for LabVIEW and the TouchOSC iPhone app to control a NI RIO device: https://decibel.ni.com/content/docs/DOC-20651. Not sure if it's applicable to FRC though.

Jay_To_The_Be 06-11-2013 06:05

Re: OSC Library?
 
It was just for a practice bot, not for a comp bot. I was looking into OSC only because I thought it would be an ideal method of control for a little 6-wheeled practice bot. Also, my whole team uses C++, and Labview seems like it has it's own limitations. I was able to use OSC to control an Arduino robot arm last year for Science Olympiad, I was just wondering if the OSC C++ libraries are compatible with the cRIO.

Domenic Rodriguez 06-11-2013 07:38

Re: OSC Library?
 
You might want to look into this library: http://www.rossbencina.com/code/oscpack

There isn't a binary library prebuilt for VxWorks (the cRIO's OS), but it looks like you should be able to incorporate the source into your project with some modifications. It already has separate network code for Windows/Unix platforms, so in theory all you'll need to do is write the network code for VxWorks, and the rest should just work.


All times are GMT -5. The time now is 12:53.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi