View Single Post
  #7   Spotlight this post!  
Unread 11-01-2007, 16:53
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Question about CMUCAM servo output

The CMUCAM will draw a single big box around any pixels that are within the color range specified. Then it will find the centroid (middle) of the pixels if the camera can see more of a light the centroid will be more towards the center of the light that is closer or in better sight. Has you drive towards the center of the target, the other junk pixes will fall out of the viewing angle of the camera. Then the camera will try to center the only target pixels it can see. Which at that point should be a single light (The green light)

By default easyC has the target values for the green light preloaded.

I'll post some screen shots in a bit. ( I need to build a second light first)
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni