View Single Post
  #7   Spotlight this post!  
Unread 23-01-2017, 18:05
wt200999's Avatar
wt200999 wt200999 is online now
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 325
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: Class ADXRS450_Gyro output angles?

Quote:
Originally Posted by BitTwiddler View Post
Is this the code that runs on the FPGA? If so, it never occurred to me that it would be written in LabView. I can see that all it really does is integrate the rate info over time. No real magic to it.
Thanks, this explains a lot.
The gyro code above runs in the background on the RIO itself (would be nice if it was on the FPGA, but doesn't happen in this case). You can find that code snippet if you look in the Gyro Open VI.

However I believe the FPGA implementation is also all done in LabVIEW using LabVIEW FPGA. Due to the parallel nature of LabVIEW it actually lends itself quite well to being compiled onto the FPGA.
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -

Last edited by wt200999 : 23-01-2017 at 18:08.
Reply With Quote