View Single Post
  #4   Spotlight this post!  
Unread 03-03-2016, 20:12
lethc's Avatar
lethc lethc is offline
#gkccurse
AKA: Becker Lethcoe
FRC #1806 (S.W.A.T.)
Team Role: Alumni
 
Join Date: Nov 2012
Rookie Year: 2013
Location: Smithville, MO
Posts: 119
lethc will become famous soon enough
Re: Analog Gyro .getAngle() function occasionally giving massive random values

Quote:
Originally Posted by Maxwell777 View Post
I've replaced the gyro, and it's still acting the same. Overall, the gyro acts normal, has a bit of drift and measures rotation fairly accurately, but every so often it'll spike, but still return to where it should be. I suspect it's software because (iirc) the gyro feeds us rate, and if we were to get a voltage spike, I doubt we'd read the same value as before the spike.
What about the wire going from the RoboRIO to the gyro? Are the connections good on the wire? Is it running next to any power wires for things like motors/batteries?
__________________
2016: Greater Kansas City Regional Finalists, Oklahoma Regional Winners, Tesla Semifinalists, IRI Quarterfinalists
2015: Greater Kansas City Regional Finalists, Oklahoma Regional Winners, Tesla Quarterfinalists, IRI Winners
2014: Central Illinois Regional Quarterfinalists, Greater Kansas City Regional Finalists, Newton Semifinalists
2013: Greater Kansas City Regional Winners, Oklahoma Regional Winners, Galileo Quarterfinalists