View Single Post
  #1   Spotlight this post!  
Unread 28-01-2006, 21:11
bush's Avatar
bush bush is offline
Registered User
AKA: Aaron
FRC #0710 (Pine Crest School)
Team Role: Programmer
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Fort Lauderdale, Florida
Posts: 42
bush has a spectacular aura aboutbush has a spectacular aura about
Send a message via AIM to bush
Pre-programmed RGB values

I'm using Kevin's streamlined camera code. camera.h defines the default min/max RGB values that are used by Track_Color(). The mean RGB value is 100R, 16G, 122B (or #64107A in base 16). THIS IS THAT COLOR.. This obviously isn't green. I'm sure these are in fact the correct colors to use (I haven't tested yet), but I want to make sure I am understanding all of the code correctly.

I don't consider myself an expert on cameras, but my only guess would be that the color being programmed into the camera is the negative of the actual color we are tracking. Come to think of it, I think I remember learning somewhere that purple and green are complements.

In any event, somebody please explain