View Single Post
  #10   Spotlight this post!  
Unread 06-02-2007, 15:55
itsme itsme is offline
Registered User
FRC #2217 (FOMH)
Team Role: Programmer
 
Join Date: Dec 2006
Rookie Year: 2007
Location: Israel
Posts: 86
itsme is an unknown quantity at this point
Re: Desperate for help in camera tracking

Quote:
Originally Posted by JBotAlan View Post
.

Glad to hear I'm helping. I'd rather have an opponent with an autonomous mode that's better (or at least as good as... ) mine, instead of my team winning because nobody else had an autonomous mode.

JBot
Lol, you're right

About the dead zone: the dead zone is the range of centroids that the camera will not rotate to. I mean, it is the range that the camera won't bother to rotate because the change of the centroid is very small. In this example the range is between 112-128 in centroid_y. That means if the camera is looking at 112 but the centroid is at 124 then it won't bother to move, and this avoids bouncing. The problem witch I thought about is when the camera is very close to the light, then the dead zone has to be a lot bigger. But I think it's fine without the sophisticated dynamic dead zone