View Single Post
  #6   Spotlight this post!  
Unread 23-01-2012, 22:42
nickpeq nickpeq is offline
Turing-complete
FRC #1255 (Blarglefish)
Team Role: Programmer
 
Join Date: Jan 2011
Rookie Year: 2011
Location: Baytown, TX
Posts: 60
nickpeq is an unknown quantity at this point
Re: Anyone able to track targets?

Quote:
Originally Posted by bakerjohn42 View Post
Has anyone had their robot track a target using a camera yet? if so, could you tell me what you called in your code to do so.
We just got our robot tracking today, using the new sample.
Still gotta work on a good PID though; the robot is too eager to center on the target and goes crazy.
Also, with the camera overexposed (I think it's technically a very low exposure...), it likes to change colors on me every time it restarts. -_- So, for now, I keep having to adjust the color criteria. However, switching to HSL criteria, instead of RGB, helped significantly. The hue is very constant for the target.
Reply With Quote