Thread: Gyro stability?
View Single Post
  #9   Spotlight this post!  
Unread 15-02-2011, 10:30
Chris Hibner's Avatar Unsung FIRST Hero
Chris Hibner Chris Hibner is offline
Eschewing Obfuscation Since 1990
AKA: Lars Kamen's Roadie
FRC #0051 (Wings of Fire)
Team Role: Engineer
 
Join Date: May 2001
Rookie Year: 1997
Location: Canton, MI
Posts: 1,488
Chris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond reputeChris Hibner has a reputation beyond repute
Re: Gyro stability?

I've had a little more time to think about this. In general, I'd advise against using a high pass filter on the heading unless you put in a lot of precautionary software. There are ways to do it without the negative effects, but if you don't have a lot of understanding of all of the effects of the HPF, I'd probably do without it.

If you're really concerned about the drift, add a trim knob to your control panel. Hook an encoder up to the Cypress board and attach it to a knob. Add a lot of friction to the knob so it doesn't move if accidentally bumped. Make your final heading calculation:

Heading = Heading + TrimKnob.

If you see your robot going at an angle slightly different than what you want, slowly turn the trim knob until the angle error disappears.
__________________
-
An ounce of perception is worth a pound of obscure.
Reply With Quote