Thread: Multiple Gyros
View Single Post
  #2   Spotlight this post!  
Unread 03-11-2009, 00:01
biojae's Avatar
biojae biojae is offline
Likes Omni drives :)
AKA: Justin Stocking
FTC #5011 (BOT SQUAD) && FTC#72(Garage bots)&& FRC#0399 (Eagle Robotics)
Team Role: College Student
 
Join Date: Oct 2008
Rookie Year: 2008
Location: Lancaster
Posts: 276
biojae is a jewel in the roughbiojae is a jewel in the roughbiojae is a jewel in the rough
Re: Multiple Gyros

Quote:
Originally Posted by ebmonon36 View Post
Our team is working on a project requiring multiple gyros. In LabVIEW, when we create the open gyro block, the options for the slot and channel only allow us to select channel 1 or 2, only allowing the use of no more than two gyros. Is there a way around this? Does this have anything to do with the FPGA?

Eric
The FPGA only has 2 accumulator channels.
In order to get an average heading from a gyro, you need to continuously integrate your readings, and that is what the FPGA accumulator is doing.

You could do your integration in your main loop, but there is no guarantee of having a steady integration time, your dt.

Though, i have to ask, what are you going to do with more then 2 gyros?
__________________
FTC Team 72 - No site
FRC Team 399 - http://www.team399.org
2010 Rockwell Collins Innovation in Control Award - (Use of the CAN bus, among other reasons) Phoenix, Arizona!
Reply With Quote