Thread: Bad Gyro?
View Single Post
  #2   Spotlight this post!  
Unread 27-09-2015, 14:56
GeeTwo's Avatar
GeeTwo GeeTwo is offline
Technical Director
AKA: Gus Michel II
FRC #3946 (Tiger Robotics)
Team Role: Mentor
 
Join Date: Jan 2014
Rookie Year: 2013
Location: Slidell, LA
Posts: 3,574
GeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond reputeGeeTwo has a reputation beyond repute
Re: Bad Gyro?

We lost a bunch of gyros in short order near the end of the 2014 build. IIRC, the gyroscope output should be about 2.5V if it is not moving. (This is dependent on having 5V on the power input and a good 0V ground, of course.) Ours was way off of this value, very near one of the end points, which would be interpreted as spinning very fast by the libraries. If you're just off a little bit, your problem can likely be solved by providing calibration offsets.

Here's a document covering the gyroscope. In the third paragraph on the last page, it gives the nominal 2.5V value for non-rotating.
__________________

If you can't find time to do it right, how are you going to find time to do it over?
If you don't pass it on, it never happened.
Robots are great, but inspiration is the reason we're here.
Friends don't let friends use master links.
Reply With Quote