Go to Post Ok, according to this, I am a hacker...Now will someone please come fix my computer??? - Beth Sweet [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 03-11-2013, 10:27
Jay_To_The_Be's Avatar
Jay_To_The_Be Jay_To_The_Be is offline
Programmer - MOE365
AKA: Jeremiah Batista
FRC #0365 (Team 365 - Miracle Workerz)
Team Role: Programmer
 
Join Date: Oct 2013
Rookie Year: 2013
Location: United States
Posts: 8
Jay_To_The_Be is an unknown quantity at this point
Question 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?
Reply With Quote
  #2   Spotlight this post!  
Unread 05-11-2013, 00:16
William Kunkel William Kunkel is offline
Programming Lead
AKA: Kunkel
FRC #0422 (Mech Tech Dragons)
Team Role: Programmer
 
Join Date: Jan 2013
Rookie Year: 2011
Location: Richmond, VA
Posts: 94
William Kunkel is an unknown quantity at this point
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.
Reply With Quote
  #3   Spotlight this post!  
Unread 05-11-2013, 11:19
androb4's Avatar
androb4 androb4 is offline
..is trying to take this year off.
AKA: Andrew A.
no team
Team Role: Alumni
 
Join Date: Feb 2010
Rookie Year: 2003
Location: Houston, TX
Posts: 220
androb4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to beholdandrob4 is a splendid one to behold
Re: OSC Library?

Quote:
Originally Posted by Jay_To_The_Be View Post
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.
__________________
FRC 441 Mentor 2012-2015
FRC 441 Alumni 2009-2012
FTC 4673 Alumni 2011-2012
FRC 1484 Alumni 2006-2008

Reply With Quote
  #4   Spotlight this post!  
Unread 05-11-2013, 14:58
Domenic Rodriguez's Avatar
Domenic Rodriguez Domenic Rodriguez is offline
Registered User
FRC #0316 (LuNaTeCs)
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2011
Location: Grove City, PA
Posts: 213
Domenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura about
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.
__________________

LuNaTeCs - Learning Under Nurturing Adults Teaching Engineering Concepts and Skills - Small and Mighty!

FRC 316 LuNaTeCs - Student (2011-2014), Lead Programmer (2011-2014), Team Captain (2013-2014), Operator (2013), Drive Coach (2014), Mentor (2015-????)
'11 Philly Regional Finalists, '13 Chestnut Hill Finalists, '13 Lenape Champions, '13 Archimedes Division, '14 Chestnut Hill Champions, '14 Lenape Champions
FTC 7071 EngiNerds - Founding Advisor (2013-2014) | FRC 5420 Velocity - Founding Advisor (2015)
Grove City College Class of '18, Electrical/Computer Engineering (B.S.E.E)

Reply With Quote
  #5   Spotlight this post!  
Unread 06-11-2013, 06:05
Jay_To_The_Be's Avatar
Jay_To_The_Be Jay_To_The_Be is offline
Programmer - MOE365
AKA: Jeremiah Batista
FRC #0365 (Team 365 - Miracle Workerz)
Team Role: Programmer
 
Join Date: Oct 2013
Rookie Year: 2013
Location: United States
Posts: 8
Jay_To_The_Be is an unknown quantity at this point
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 06-11-2013, 07:38
Domenic Rodriguez's Avatar
Domenic Rodriguez Domenic Rodriguez is offline
Registered User
FRC #0316 (LuNaTeCs)
Team Role: College Student
 
Join Date: Sep 2010
Rookie Year: 2011
Location: Grove City, PA
Posts: 213
Domenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura aboutDomenic Rodriguez has a spectacular aura about
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.
__________________

LuNaTeCs - Learning Under Nurturing Adults Teaching Engineering Concepts and Skills - Small and Mighty!

FRC 316 LuNaTeCs - Student (2011-2014), Lead Programmer (2011-2014), Team Captain (2013-2014), Operator (2013), Drive Coach (2014), Mentor (2015-????)
'11 Philly Regional Finalists, '13 Chestnut Hill Finalists, '13 Lenape Champions, '13 Archimedes Division, '14 Chestnut Hill Champions, '14 Lenape Champions
FTC 7071 EngiNerds - Founding Advisor (2013-2014) | FRC 5420 Velocity - Founding Advisor (2015)
Grove City College Class of '18, Electrical/Computer Engineering (B.S.E.E)

Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


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

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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