View Single Post
  #7   Spotlight this post!  
Unread 18-01-2006, 19:20
Alekat's Avatar
Alekat Alekat is offline
Registered User
AKA: Alex
None #0701 (RoboVikes)
Team Role: Alumni
 
Join Date: Feb 2004
Rookie Year: 2003
Location: California
Posts: 234
Alekat has a spectacular aura aboutAlekat has a spectacular aura about
Send a message via AIM to Alekat
Re: frc_camera not working but labview does

Quote:
Originally Posted by kaszeta
We had a similar issue, and the culprit in our case was the servo motor speed

1. Camera would start the search sequence, looking for targer.
2. First pan sweep wouldn't see it. Camera swings back to the left to start second sweep.
3. While the camera is sweeping back, the camera sees the target, but since it is in the middle of sweeping back to start the next scan, it loses lock on it and has to restart scanning.

Making some minor tweaks to the target tracking code fixed this for us.

It also helps to make sure the camera is calibrated correctly.
I think this solves the problem we were having today. Thanks! Oh and as far as calibration, it's best just to use the default numbers that come on kevin's code, trust me.