View Single Post
  #4   Spotlight this post!  
Unread 19-05-2007, 20:37
SgtMillhouse648's Avatar
SgtMillhouse648 SgtMillhouse648 is offline
Registered User
AKA: Malhon Godwin
FRC #0648 (QC Elite)
Team Role: Engineer
 
Join Date: Apr 2006
Rookie Year: 2005
Location: Davenport, IA
Posts: 153
SgtMillhouse648 has a spectacular aura aboutSgtMillhouse648 has a spectacular aura about
Send a message via MSN to SgtMillhouse648
Re: Programming Camera in Easy C

QC Elite used the camera for the first time this year, also with easyC. Although we did not score in auto at atlanta, we were the only team to score in auto at midwest. We mounted the camera using the pan tilt assy, and wrote a search routine similar to kevins. Once the camera found the light, it tracked it, and we then kept track of the servo outputs to the camera. We used the pan to drive the robot, and the tilt to tell when we were close enough. When the camera angle was high enough, the robot stopped and went through an unloading sequence. The distance worked, but we had a hard time driving the robot straight to the light.
Good luck,
Malhon
__________________
2007-
Midwest Regional-
Regional Finalists with 1000 and 447
Rockwell Automation Inspiration in Control Award
Regional Woodie Flowers - Ed Wegscheid