View Single Post
  #4   Spotlight this post!  
Unread 09-02-2010, 22:16
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: Gyro spinning while stationary

Probe the output of the gyro using a multimeter. What does it say? It should be somewhere between 2 and 4 volts. If it is 0 or 5 then that is your problem.

Did you insert a wire backwards? That could cause problems.
Is the gyro powered? That could also cause problems.
Is the analog board powered? see above

Make sure you only reset it when you are not moving, and don't move it when booting up. If you might have been moving it while it was on, reboot it and try again without moving it. I have no idea when it actually sets the centerpoint, as that is protected code that is not accessible to teams (it runs on the FPGA), but I would assume it does this on Reset and startup. When it does get the centerpoint, it will think anything + or - of that centerpoint is movement, so if it was moving when it got the centerpoint it will now think that stationary is movement.
__________________
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