Thread: Camera Colors
View Single Post
  #1   Spotlight this post!  
Unread 11-03-2009, 23:08
ExarKun666's Avatar
ExarKun666 ExarKun666 is offline
Ben Error/MC Ben/NC Ben
AKA: Ben Kellogg
FRC #2429 (LCEC)
Team Role: Programmer
 
Join Date: Dec 2007
Rookie Year: 2008
Location: La Caņada, CA
Posts: 208
ExarKun666 is an unknown quantity at this point
Send a message via AIM to ExarKun666 Send a message via MSN to ExarKun666 Send a message via Yahoo to ExarKun666
Camera Colors

I have not been very successful with color tracking, I am trying to get the TwoColorDemo code to work and I am pretty sure it's the values for pink and green, but I have kept most of the default code their. So here are some questions:

1) What values for the min, and max for luma, saturation, and hue have teams used that have been successful? [For pink and green, plz specify which color it is for]

2) Is there any of the default code that would cause the robot not to see the target?

3) I put in my own for loops to move the two servos instead of using their default ones, since whenever I turned the robot on the camera would vertically turn up or down all the way, and then turn left or right all the way right when autonomous started., is this smart to do?

4) Are there any suggestions on how to get the camera working? [I have tried NI Vision Assistant, but was unsuccessful with either getting an image from the camera, or taking a screen pic of the florescent green with the camera, and attempting to get values from the pic]

TYVM to any who respond, and help!
__________________
Ben Kellogg




Team Sites: [LCEC Site] [FRC/FLL Site] [LCEC Blog]
Reply With Quote