Thread: KOP Gyro Lag
View Single Post
  #12   Spotlight this post!  
Unread 14-02-2008, 16:41
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: KOP Gyro Lag

Quote:
Originally Posted by FRC4ME View Post
Sure. I'll send you our version that uses your code. We also have a version that uses IFI's base code. Both exhibited the gyro lag problem.

The topic that I linked to above tells me it isn't an ADC problem, since the person who posted that topic tested the same analog input with a POT and there was no lag at all.
You should test your setup with a potentiometer too (I suspect it will react much faster). Because what you describe sounds like a classic capacitive drive problem, I strongly suspect your gyro cannot drive the capacitance it's output driver is "seeing". This can be due to a defective gyro and/or the cabling presents a capacitive load that is too high for the gyro to drive. Either way, this is not normal behavior as the angular change should be nearly instantaneous.

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