View Single Post
  #3   Spotlight this post!  
Unread 10-04-2014, 21:43
Ginto8's Avatar
Ginto8 Ginto8 is offline
Programming Lead
AKA: Joe Doyle
FRC #2729 (Storm)
Team Role: Programmer
 
Join Date: Oct 2010
Rookie Year: 2010
Location: Marlton, NJ
Posts: 174
Ginto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of lightGinto8 is a glorious beacon of light
Re: Team 2073 presents: DoubleVision

If you're processing through the cRIO (or at least communicating through it), can't you just use this?
Code:
DriverStation.getInstance().getAlliance()
This has worked for us in Java, should work in C++ (possibly with some ->s added), and there should be something similar available in LabView, though I personally haven't used either for FRC.

Don't get me wrong, I love the idea. It just seems like you reinvented the wheel a little bit for this application of it.
__________________
I code stuff.