|
Re: Weird Gyro Values
2 solutions:
1. Try a smaller gain. Our robot's gyro has again of 1/200, to give you some perspective.
2. Reboot. And, while you reboot, don't touch the gyro
The WPI Gyro implementation is horrible, because it polls the gyro for 2s while booting up and determines the center point. It would be much better to calibrate this center, as you wouldn't have issues where it polls the gyro while it is moving (such as if you are holding it, or positioning your robot on the field).
FYI: I managed to saturate a 150deg/sec gyro with our robot. Good thing we don't need to turn that fast, ever. 110 seems a bit slow, but if you are only using it during slow processes it could work.
__________________
Kettering University - Computer Engineering
Kettering Motorsports
Williams International - Commercial Engines - Controls and Accessories
FRC 33 - The Killer Bees - 2009-2012 Student, 2013-2014 Advisor
VEX IQ 3333 - The Bumble Bees - 2014+ Mentor
"Sometimes, the elegant implementation is a function. Not a method. Not a class. Not a framework. Just a function." ~ John Carmack
|