View Single Post
  #11   Spotlight this post!  
Unread 15-02-2010, 19:06
EthanMiller EthanMiller is offline
Lead Programmer
AKA: Socks
FTC #4356 (The Zip Ties)
Team Role: Programmer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Clayton, NY
Posts: 121
EthanMiller has a spectacular aura aboutEthanMiller has a spectacular aura aboutEthanMiller has a spectacular aura about
Re: Programming the Camera

If you look through the CircleTracker demo (It's one of the FRC examples), it gives you what you need.

You'll need the UpdateVisionDashboard.java (I think, still figuring it all out) and the Target.java files copied into your project, then you'll need to work out the code in the TeleOp section of the CircleTracker Demo to see what needs to go in the Autonomous section of your code, assuming you're building autonomous.

Be sure to kill the If statement surrounding the thing and checking for the trigger, or it won't work.

I also recommend reading through all of the files to figure out what they do - translating each line/set of lines into English helps.
__________________
When all else fails, read the manual.

FRC 1713 K Island Gears 2009, 2010 (Not 2011 due to budget, hopefully 2012!) - Fingerlakes Regional

FTC 4356 The Zip Ties 2010-2011 Season - NNYRC (2010 9th seed).