View Single Post
  #3   Spotlight this post!  
Unread 10-02-2014, 14:52
Mike Bortfeldt Mike Bortfeldt is offline
Registered User
FRC #1126 (& 1511)
Team Role: Mentor
 
Join Date: Oct 2004
Rookie Year: 2004
Location: Rochester, NY
Posts: 119
Mike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud ofMike Bortfeldt has much to be proud of
Re: Gyro Rate Bias Issue

Eric,

Drift is common when using a gyro and the WPILib does not have an easy way to compensate for it. As Joe mentioned, you can reset it occasionally when you are at a known heading (against a field element for example), or you could create your own compensating algorithm outside the gyro class. One thing that has helped us, is to allow the gyro a little more time to "warm up" (approx. 10 seconds) before instatiating the gyro object. This gives the gyro a few more seconds to reach temperature stability before the WPILib obtains a "zero" point. It will still drift, but perhaps not quite so quickly.

Mike
Reply With Quote