Thread: two gyros?
View Single Post
  #2   Spotlight this post!  
Unread 30-04-2007, 14:46
TubaMorg TubaMorg is offline
Programmermechanicalelect ricalcoach
AKA: Dan
FRC #1480 (Robatos Locos)
Team Role: Mentor
 
Join Date: Jan 2006
Rookie Year: 2005
Location: Houston
Posts: 450
TubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond reputeTubaMorg has a reputation beyond repute
Re: two gyros?

Not sure if this will work, but when you intialize and subsequently read from the gyro (using the EasyC gyro block) you also define which analog port the gyro is plugged into. Therefore, in an object oriented sense, if you do the same thing for two gyros, the two instances should remain independent. Give it a try!

Otherwise, as you suggested, you would have to read the analog port directly which gives a 10-bit output proportional to turn rate which you can convert to deg/s which can be integrated to give heading.

Let us know how it works! I've been wondering whether it might be a good idea to use two gyros for redundancy and as some sort of quality control in applications where accurate navigation is desired.