View Single Post
  #2   Spotlight this post!  
Unread 26-02-2014, 16:49
pastelpony's Avatar
pastelpony pastelpony is offline
Programmer/Electrical
AKA: Zach M
FRC #3525 (Nuts and Bolts of Fury)
Team Role: Programmer
 
Join Date: Feb 2014
Rookie Year: 2013
Location: Waterbury, Connecticut
Posts: 152
pastelpony will become famous soon enough
Re: Process one Image

Instead of taking a picture, our bot does the same thing except with real-time video capture.
For the entirety of autonomous, our bot checks for the light to flash, then moves forward when it is detected. This is done by having the code set a global variable named "State" to true whenever there is a target detected (i.e. the light) and activating the autonomous code when said "State" is true and remaining still while false via case structure. Unfortunately, I do not have the exact code on me right now, but when I get back to the team's computer I can get more detailed on it.
Reply With Quote