View Single Post
  #21   Spotlight this post!  
Unread 13-02-2007, 12:38
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: Camera Code Update

Quote:
Originally Posted by jdejoannis View Post
Don't use what? Are you saying not to use v2.2 altogether?
No, I meant the snippet of search code I included in this posting. The problem is that when a new search is initiated, the servo PWM values could be initialized to values outside the min/max PWM range set in the code, which could lead to wacky behavior. I haven't had time to look at it yet, but the same bug may be present in older code. The new search code is easier to read and comprehend, should work better, and provide a better foundation for those that want to modify it for their specific needs.

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