View Single Post
  #5   Spotlight this post!  
Unread 10-04-2014, 23:13
billbo911's Avatar
billbo911 billbo911 is offline
I prefer you give a perfect effort.
AKA: That's "Mr. Bill"
FRC #2073 (EagleForce)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2005
Location: Elk Grove, Ca.
Posts: 2,350
billbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond reputebillbo911 has a reputation beyond repute
Re: Team 2073 presents: DoubleVision

Quote:
Originally Posted by Ginto8 View Post
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.
Absolutely you can do this! And yes, there is a Labview function for this.

The reason we went with a switch is, well, because we don't always trust FMS to work correctly every time. Can you think of any examples from this year?
Additionally, we want to be able to set the color to track when not on FMS, like in demo's and off season competitions.
__________________
CalGames 2009 Autonomous Champion Award winner
Sacramento 2010 Creativity in Design winner, Sacramento 2010 Quarter finalist
2011 Sacramento Finalist, 2011 Madtown Engineering Inspiration Award.
2012 Sacramento Semi-Finals, 2012 Sacramento Innovation in Control Award, 2012 SVR Judges Award.
2012 CalGames Autonomous Challenge Award winner ($$$).
2014 2X Rockwell Automation: Innovation in Control Award (CVR and SAC). Curie Division Gracious Professionalism Award.
2014 Capital City Classic Winner AND Runner Up. Madtown Throwdown: Runner up.
2015 Innovation in Control Award, Sacramento.
2016 Chezy Champs Finalist, 2016 MTTD Finalist