View Single Post
  #3   Spotlight this post!  
Unread 14-08-2007, 12:36
SgtMillhouse648's Avatar
SgtMillhouse648 SgtMillhouse648 is offline
Registered User
AKA: Malhon Godwin
FRC #0648 (QC Elite)
Team Role: Engineer
 
Join Date: Apr 2006
Rookie Year: 2005
Location: Davenport, IA
Posts: 153
SgtMillhouse648 has a spectacular aura aboutSgtMillhouse648 has a spectacular aura about
Send a message via MSN to SgtMillhouse648
Re: Drifting Gyro with EasyC

I guess I said what wasn't working right. The gyro isn't in a way drifting. When you bring it back to zero, it increasingly is off each time as it passes its starting point ex. we started up the controller, and let the gyro initialize. slowly we moved the gyro about 90 degrees, and it was dead on. next, we brought it back to 0, and it was within a degree or so. Next, we rotated it 180 degrees, and it was within a bout 5-10 degrees. we then brought it back to 0, and it was off by about 20 degrees. Will the deadband take care of this? It is almost like it is not scaled correctly, but im not sure. Is there a way to change this in easyC?
__________________
2007-
Midwest Regional-
Regional Finalists with 1000 and 447
Rockwell Automation Inspiration in Control Award
Regional Woodie Flowers - Ed Wegscheid