Quote:
Originally Posted by pblankenbaker
My understanding of the gyro is that a reset is not instantaneous. It takes a bit of time for the gryo to zero itself and during this time it is best not to move. If you changed your code to the following, you might be more likely to see a value closer to zero:
|
The gyro open performs a gyro calibration which takes several seconds, but is blocking. Gyro reset does not calibrate and should be quick. It's just zeroing the accumulators. I wonder if there is a synchronization issue and a tiny delay would make it work reliably.
We also never reset the gyro except at the beginning of autonomous, and track everything relative to the starting angle. It ends up being much more accurate if you ever want to come back to the starting angle.