View Single Post
  #1   Spotlight this post!  
Unread 23-01-2007, 16:49
Inverted Inverted is offline
Registered User
AKA: Eric P.
FRC #1228 (Robo Tribe)
Team Role: College Student
 
Join Date: Jan 2005
Rookie Year: 2004
Location: Rahway, NJ
Posts: 25
Inverted is an unknown quantity at this point
Send a message via AIM to Inverted
Camera track and drive integration code

After 3 years of frustration, broken cameras, and bad programming, I finally got the camera to track the light. (Kevin Watson, you are a god!) Now that a third of our autonomous code is done, all we have left to do is get the bot to move towards the light once the camera has locked on, and then have it operate our arm mechanism. I pretty much know how to write the code to operate the arm, but I have no idea how to go about getting the bot to track to the color.

From what I've been reading, I'm under the impression that Kevin's code has a function that does this, but I haven't been able to find it. Then again, I could be completely wrong about this. If I'm correct, which function would it be? And if I'm not, could someone point me towards where I could find the code that does this or a resource that will teach me how to (preferably the former). Any help is much appreciated.