View Single Post
  #4   Spotlight this post!  
Unread 15-08-2007, 10:56
Kingofl337's Avatar
Kingofl337 Kingofl337 is offline
You didn't see anything....
AKA: Adam
FRC #0501 (Power Knights)
Team Role: Mentor
 
Join Date: Feb 2005
Rookie Year: 1998
Location: Manchester, NH
Posts: 861
Kingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond reputeKingofl337 has a reputation beyond repute
Send a message via Yahoo to Kingofl337
Re: Drifting Gyro with EasyC

I'd still recommend playing with gyro deadband. You can write your own gyro function if you want to play with it. Just get the analog value GetAnalogInput() and average the samples and set that as your bias.
Subtract the Current Rate from the bias and the difference should be the rate of rotation.

Then it should be 12.5mv/deg sec.

I heard we got a 150deg/sec gyro this year is that true or was it an 80deg/sec again?

I think I might have a snippet of the gyro code around I'll see if I can find it.
__________________
FIRST Team 501 PowerKnights - Mentor
FIRST Team 40 Checkmate - Mentor Alum
FIRST Team 146 Blue Lightning - Alumni

Last edited by Kingofl337 : 15-08-2007 at 11:11.