|
Re: Analog Gyro .getAngle() function occasionally giving massive random values
Quote:
Originally Posted by Maxwell777
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
|