View Single Post
  #1   Spotlight this post!  
Unread 25-01-2009, 20:52
Pancake Pancake is offline
Registered User
FRC #0991 (The Dukes)
Team Role: Photography
 
Join Date: Jan 2009
Rookie Year: 2008
Location: Phoenix
Posts: 11
Pancake is an unknown quantity at this point
Yet another Camera thread...

For the past few days / week, I've been trying to get the camera code to work. This code I have made is a variation of the sample code provided. As an FYI, the Target.h and Target.cpp is a copy and paste from the sample code.

The code *seems* to recognize a target... when it sees pink above green (or was it green above pink?), the servos slow down significantly and then once the target is out of sight, it keeps on moving at a normal speed.

Help is appreciated,
Thanks.

EDIT: Seems like "Track.h" needs to go after "TrackAPI.h". Still, there's likely something wrong w/ the code.
Attached Files
File Type: zip Robotics.zip (12.3 KB, 51 views)

Last edited by Pancake : 25-01-2009 at 21:20.
Reply With Quote