View Single Post
  #25   Spotlight this post!  
Unread 17-02-2006, 13:23
Keith Watson Keith Watson is offline
Registered User
FRC #0957 (WATSON)
Team Role: Mentor
 
Join Date: Feb 2006
Rookie Year: 2006
Location: Wilsonville, OR
Posts: 112
Keith Watson is just really niceKeith Watson is just really niceKeith Watson is just really niceKeith Watson is just really nice
Re: What is T_Packet_Data.my ??

Quote:
Originally Posted by kevlarman
The non-zero my's probably come from stray pixels that the camera finds (like if the room is lit w/ flourescent lights and there is green or yellow paper on the walls), this doesn't make much of a difference most of the time, but it's annoying that it resets the search pattern, which results in the camera getting stuck going in circles and never finding the target (in our debugging we have gotten around this by covering its field of view until it was facing the target, we should probably make it not reset the search pattern ourselves, but hasn't annoyed us enough to do so yet)
If the logic for tracking vs searching is changed from "is there a target pixel" to "is there confidence" then this problem goes away. For some reason confidence is only large if there is a green light.
__________________
Keith Watson - Professional Software Engineer
No relation to "Kevin" Watson, who created the camera tracking code.