View Single Post
  #4   Spotlight this post!  
Unread 19-02-2006, 23:42
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: Are you having problems with glare???!?!

Quote:
Originally Posted by Mike
We were getting this and solved it by changing
if(T_Packet_Data.my != 0)
to
if(T_Packet_Data.confidence > 10)

Good luck,
-Mike
The reason is the camera itself reports other lights in the mx,my values but the confidence value seems to be based only on the green light.
__________________
Keith Watson - Professional Software Engineer
No relation to "Kevin" Watson, who created the camera tracking code.