View Single Post
  #5   Spotlight this post!  
Unread 25-02-2011, 01:27
apalrd's Avatar
apalrd apalrd is offline
More Torque!
AKA: Andrew Palardy (Most people call me Palardy)
VRC #3333
Team Role: College Student
 
Join Date: Mar 2009
Rookie Year: 2009
Location: Auburn Hills, MI
Posts: 1,347
apalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond reputeapalrd has a reputation beyond repute
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
Reply With Quote