View Single Post
  #6   Spotlight this post!  
Unread 13-01-2009, 09:30
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: Camera not working

Quote:
I heard that there are still bugs in the camera color recognition code...is that true?
Yes. See my thread here for temporary bugfixes for WPILib. These are completely unofficial and have only been tested on our robot.

Quote:
I also tried setting min/max values for all to 1 and 250 and it still couln't find anything. I think this should have found everything in the room no?
This is because the values from the camera run from 0 to 255, so you wouldn't have selected everything. The nature of the bugs means that FindColor is likely finding a single pixel or single small group of pixels before it finds the main 'big' particle, and returning that.