View Single Post
  #2   Spotlight this post!  
Unread 20-01-2007, 13:45
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: Camera finds overhead lights not green light

Quote:
Originally Posted by theycallhimtom View Post
Can anyone help me out? Heres what I got.

I'm using Kevins's version 2.1 code the bells and whistles version. The camera through ifiloader is showing that it is locked on but it finds different places every quarter second. So in ifiloader it says it found a target at some pan and tilt angle with very high error. Then it finds the target at a different pan and tilt location with equally large error.

I check and the pan and tilt servo are correctly mounted and plugged in. Using the interactive PWM adjustment menu through ifiloader I verified that up is really up on the tilt servo and left and right are correct on the pan servo. I have been playing with different values for almost everything and I still cannot get it to track the green light.

My setup is the camera is mounted about a foot off the ground looking up at the light which is maybe 10 feet away on the top of the rack. The room has flourescent lights maybe 2 to 3 feet above the rack. The lights aren't directly behind the camera or anything. I have also checked that the angle to find the light is within the max and min pan and tilt values. Any ideas? Thanks for the help.
Did you change the default calibration values?

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org