Quote:
Originally Posted by MagiChau
Code wise if you are using the gyro from the Kit of Parts then you should keep its sensitivity at 0.007 so the getAngle() reports in degrees.
How much is it drifting? It is normal for the gyro to drift a fraction of a degree because of the nature of a gyro being a rate of change sensor. To get the current angle the gyro is facing it sums up all the changes in angle. The calculated rate of change is not 100% accurate and thus has error. Due to this error it builds up as more and more of these are added up as drift. You would have to reset the gyro when you know its heading to reset the error in getAngle() to 0.
|
Earlier tonight we got it drifted 1 degree in 3 minutes while we were suspecting form the temperature ,we put a fan on the gyro and it was fine. So we tried it after 1 hour and it start changing 1 degree a minute. Is there any library or source for the temp output on the gyro ?