Thread: Gyroscope Code
View Single Post
  #13   Spotlight this post!  
Unread 19-01-2006, 17:59
Dave75 Dave75 is offline
Registered User
AKA: Dave Blackburn
FRC #0075 (RoboRaiders)
Team Role: Mentor
 
Join Date: Mar 2005
Rookie Year: 2004
Location: Hillsborough, NJ
Posts: 6
Dave75 is an unknown quantity at this point
Re: Gyroscope Code

Quote:
Originally Posted by Kevin Watson
Well, I finally posted the ADC and Gyro code for the 2006 robot controller. ...
I just noticed that the gyro.h has DEFINEs to set the code to operate on a variety of gyro modules, but not the one that's in the 2006 KOP. According to US First's "2006_Sensor_Basic_Operation.pdf",
The actual Yaw Rate Gyro chip used on the 2006 YRG is the AD22304.
As far as I can tell, the only significant difference is the 80 degree/sec turning rate limit (vs. 150 dps on the ADXRS150).

Is there anything that needs to be adjusted in the code to handle this particular chip, or is it good enough just to leave the DEFINE the way it came?

Thanks again,
Dave