Quote:
Originally posted by Caleb Fulton
when the robot is sitting still, the gyro reads 129 or 130...not 127... Is there any way to "reset" it?
|
This is normal, and no there's not a way to reset it. Every gyro that we've examined here has it's own "normal" center value. I've also been told that some teams have seen the gyro have a different center value each time it's powered up, although I didn't see this myself.
To combat this problem, we had our custom circuit take 256 samples from the gyro on powerup and average them to determine it's center value. Worked perfectly. One word of caution if you try this: when the gyro first receives power, it's output will be all over the place for a few seconds, so you don't want to take these samples right away when your robot is powered up. Our custom circuit had a 4 second delay before reading the gyro and it worked great.