View Single Post
  #2   Spotlight this post!  
Unread 28-01-2011, 08:08
Bongle's Avatar
Bongle Bongle is offline
Registered User
FRC #2702 (REBotics)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2002
Location: Waterloo
Posts: 1,069
Bongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond reputeBongle has a reputation beyond repute
Send a message via MSN to Bongle
Re: Problems with the Gyro, non-stop (but yet not a constant) change in the angle.

This is called bias, and is usually present in any sensor like the gyro.

There's a couple fixes, depending on how much work you want to do
1) Ignore it (it'll still be accurate enough over short periods)
2) Try to calculate the bias when the robot is known to be sitting still (I believe the gyro code already does this, but you can add a longer bias calculation for a bit more accuracy)

I think you should be able to buy a gyro chip with better specifications that will drift less if it really is a deal-killer.

If both gyros have bias of the same direction and same magnitude (and have similar specifications), I always wondered if mounting them both on top of each other would allow the error to cancel out.