View Single Post
  #8   Spotlight this post!  
Unread 25-01-2008, 13:57
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: Gyro inconsistencies...

Quote:
Originally Posted by Russ Beavis View Post
I don't know the details of Kevin's code but I wouldn't be surprised if the code "ignores" small non-zero readings. That is a very simple but technically insufficient way to keep from "runaway" due to integration of a small non-zero output.
This is exactly what my code does, although Jake's deadband setting of sixteen DN seems excessive. I strongly suspect there is something wrong with Jake's gyro because the code works really well with the gyros I have on hand (several ADXRS150s, two ADXRS300s, one Systron Donner from the 2005 KOP, and several Silicon Sensing Systems' CRS03s). As I mentioned here, I have a CRS03 that ran for nearly two hours with less than two degrees of drift using the default ADC settings. One of my ADXRS150s will do nearly as well as that CRS03. Jake, if you can, try a different gyro because what you're seeing isn't typical behavior.

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