View Single Post
  #6   Spotlight this post!  
Unread 09-01-2005, 12:33
Tom Bottiglieri Tom Bottiglieri is offline
Registered User
FRC #0254 (The Cheesy Poofs)
Team Role: Engineer
 
Join Date: Jan 2004
Rookie Year: 2003
Location: San Francisco, CA
Posts: 3,186
Tom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond reputeTom Bottiglieri has a reputation beyond repute
Re: Sensor Warning-Lighting is not created equal

When you initially set the camera, you must calibrate it to find what the RBG value sets of the objects you are trying to find. Then, you take the three values, Yellow, Green, and Red, and copy them into the "camera_init()" function in the user_routines_ddt.c file. This is, of course, if you are using the code supplied by IFI. I highly suggest you use this code, making modifications to it as needed.

When you turn the camera on, it will auto detect lighting conditions, and adjust the AEC (automatic exposure control) to compensate for this. In easier terms, it sees how much the light is "grayed" compared to set code values. If it is darker, it allows more light to enter the camera before taking a frame, and vice versa.