View Single Post
  #11   Spotlight this post!  
Unread 17-01-2006, 23:35
Kevin Watson's Avatar
Kevin Watson Kevin Watson is offline
La Caņada High School
FRC #2429
Team Role: Mentor
 
Join Date: Jan 2002
Rookie Year: 2001
Location: La Caņada, California
Posts: 1,335
Kevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond reputeKevin Watson has a reputation beyond repute
Re: CMU camera search

Quote:
Originally Posted by ryan_f
We kind of have the same problem. But our problem is that the camera finds the green target, but doesn't lock onto it. It just posts its coordinates (when we're watching the screen from ifi_loader) and then just keeps going on its search pattern. Is this supposed to happen or is it supposed to actually track the target?


P.S. It tracks the target fine when we use labview with the servos connected to the camera
Depending on the version of the code, enter the tracking menu and adjust the search delay up by one, which will slow down the search and give the camera more time to let the RC know that it found the green light. Don't forget to save the new value to EEPROM when you get it dialed in. For the streamlined code, open tracking.h and look for #define SEARCH_DELAY_DEFAULT and increase the number to the right of it by one, compile the code and try it out. Repeat if necessary.

-Kevin
__________________
Kevin Watson
Engineer at stealth-mode startup
http://kevin.org