Thread: Gyro Rate
View Single Post
  #7   Spotlight this post!  
Unread 22-03-2008, 14:17
Dad1279 Dad1279 is offline
Registered User
FRC #1279 (Cold Fusion)
Team Role: Mentor
 
Join Date: Jan 2005
Rookie Year: 2004
Location: NJ
Posts: 511
Dad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud ofDad1279 has much to be proud of
Re: Gyro Rate

Quote:
Originally Posted by Aerex View Post
Regarding this topic I have a similar questions about the gyo

1.) If the gryo's results give a 10 bit value would 1024 represent a 360 degree angle.

2.) Can I take the assumption that the gryoscope uses flat plane of x and y coordinates.

3.) When you start the robot is the value initialized at 0 or at some angle that it captures
a.) if you were to turn a robot backwards would the values be the opposite value (ie. 25 to -25)
1) No. See my comments above. 1024 (read from the analog input, not the gyro routine) would represent a rapid clockwise turn.
2) Yes, I suppose so, if it is mounted parallel to the plane of x & y. I do not know the results if mounted on an angle.
3) No. See documentation for Easy C/WPILib or Kevin's routines.

The Gyro output of 0-1024 represents the 'rate of turn' and should return a value of approximately 512 when at rest.

Last edited by Dad1279 : 22-03-2008 at 14:25. Reason: clarification