View Single Post
  #2   Spotlight this post!  
Unread 03-02-2008, 23:21
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: Gyro type for new AD22304 sensor

Just insert the gyro type code for the ADXRS80. Or 125...either way it will work for you.

For your second question, electronic gyros just output a voltage that is proportional to the RATE the chip is turning. Software can use this information to get degrees/second which can be integrated to give you relative heading. Relative meaning it can tell you what direction you are pointing relative to when your gyro code was intialized. The WPILIB that easyC uses takes care of this for you with the easy to use functions.

Good luck!

Last edited by TubaMorg : 03-02-2008 at 23:25. Reason: Answer second question