View Single Post
  #2   Spotlight this post!  
Unread 18-03-2006, 16:24
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: Using T_Packet_Data.mx versus confidence

The .mx and .my values can/will be non-zero when there is no green light in view. We verified this in our shop. The .confidence value appears to find green light correctly most of the time. We found it did not work well in the pit area at our Regional. Neither method is foolproof. The new default camera code uses a confidence threshold of 20.

Check the state of your camera using the terminal output. We constantly encountered problems where the camera software would not initialize and was unusable in every match. The best we could determine was it would fail if the reset button was pressed in autonomous mode. It always worked fine during testing in user mode.
__________________
Keith Watson - Professional Software Engineer
No relation to "Kevin" Watson, who created the camera tracking code.