Go to Post Gracious Professionalism does not take a holiday. - JaneYoung [more]
Home
Go Back   Chief Delphi > Technical > Control System > Sensors
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 02-11-2009, 23:12
ebmonon36's Avatar
ebmonon36 ebmonon36 is offline
Registered User
AKA: Eric Bredehoeft
FRC #1018 (Robodevils)
Team Role: Mentor
 
Join Date: Dec 2002
Rookie Year: 2003
Location: Indianapolis, IN
Posts: 428
ebmonon36 has much to be proud ofebmonon36 has much to be proud ofebmonon36 has much to be proud ofebmonon36 has much to be proud ofebmonon36 has much to be proud ofebmonon36 has much to be proud ofebmonon36 has much to be proud ofebmonon36 has much to be proud ofebmonon36 has much to be proud of
Send a message via AIM to ebmonon36
Multiple Gyros

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

Last edited by ebmonon36 : 02-11-2009 at 23:18.
Reply With Quote
  #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
  #3   Spotlight this post!  
Unread 03-11-2009, 01:00
EricVanWyk EricVanWyk is offline
Registered User
no team
 
Join Date: Jan 2007
Rookie Year: 2000
Location: Boston
Posts: 1,597
EricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond reputeEricVanWyk has a reputation beyond repute
Send a message via AIM to EricVanWyk
Re: Multiple Gyros

I agree with everything Biojae said in that last post.

If you just want rate, not heading, you can just open the gyros as analog channels and do the conversion manually.

If you need heading information, you may be able to hack something together that is slightly better than what biojae was alluding to. However, it is not for the faint of heart. I was working on combining the oversampling engine with the dma engine to create a fake accumulator. Basically, the oversampling sums up N samples and the DMA deterministically sends them up to the processor. Then when you integrated in software you'd have all of the samples accounted for exactly once. I never got it to work fantastically, maybe you'll have more luck.

Enjoy!
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[FTC]: Multiple Programs or One Program with Multiple Auto Modes kevin51292 FIRST Tech Challenge 4 02-01-2009 20:37
Gyros EROCK Kit & Additional Hardware 10 21-01-2008 18:58
Hosting multiple sites in multiple VMs EHaskins Website Design/Showcase 6 22-12-2007 01:09
Gyros!! RAWdealer59 Programming 1 12-02-2003 16:46
gyros archiver 2001 6 24-06-2002 02:35


All times are GMT -5. The time now is 17:39.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi