PDA

View Full Version : Camera tracking problem


Windward
01-15-2007, 05:23 PM
I've gotten the camera to work, and it is tracking the target, and everything is connected properly, but every time the camera locks onto the '07 Vision Target, it centers on the light, then tilts upward. It then centers back on the light. This cycle repeats. Should this happen or are one of the parameters incorrect?

JBotAlan
01-15-2007, 05:26 PM
Are you using Kevin Watson's tracking code? You might have the vertical servo reversed; there is a parameter in Kevin's code that will change the sign, reversing the direction of that servo.

Good luck
JBot

Kevin Watson
01-15-2007, 05:59 PM
I've gotten the camera to work, and it is tracking the target, and everything is connected properly, but every time the camera locks onto the '07 Vision Target, it centers on the light, then tilts upward. It then centers back on the light. This cycle repeats. Should this happen or are one of the parameters incorrect?See question nine: http://kevin.org/frc/camera/

-Kevin