View Single Post
  #1   Spotlight this post!  
Unread 21-02-2006, 10:28
DemonYawgmoth's Avatar
DemonYawgmoth DemonYawgmoth is offline
Registered User
AKA: Artem Kochnev
FRC #1396 (Pyrobots)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2003
Location: Staten Island, NY
Posts: 28
DemonYawgmoth is an unknown quantity at this point
Send a message via AIM to DemonYawgmoth Send a message via MSN to DemonYawgmoth
How to test if the camera is locked on?

We want to do some stuff in autonomous mode for testing if the camera is locked on, and some stuff in normal mode (light up an LED or something) to test if the camera is locked on. I looked around and found a few people saying that I could look at T_Packet_Data.confidence (or whatever that variable is) and somehow from that determine it, but I ran a test on the light, and the camera went through a nasty amount of different numbers, ranging from 8 to 200+, for the confidence. Is there anything else I can do to test if the camera is locked on? If not, is there anything I can do with the confidence value to see if the camera is locked on? Thanks a lot guys.