Go to Post Band geek FIRST geeks = uberparty! - Nuttyman54 [more]
Home
Go Back   Chief Delphi > Technical > Programming > C/C++
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Spotlight this post!  
Unread 27-01-2013, 15:27
Fifthparallel Fifthparallel is offline
Registered User
AKA: Sam Chen
FRC #1410
 
Join Date: Dec 2012
Rookie Year: 2011
Location: Denver, CO
Posts: 65
Fifthparallel is an unknown quantity at this point
Re: Gyro not sending values?

Sorry to derail, but I had a question about the Gyro GetAngle function.


We want to incorporate the gyro that comes attached with the ADXL345 accelerometer in a Complementary filter which kinda looks like

Code:
angle = 0.98(angle + GyroAngularRateOfChange * dt) + 0.02(asin(Acceleration))
My question is whether the Gyro class already performs this integration for us in the GetAngle function (which according to the comments in the class header, it does), or if we need to find the rate of angular change ourselves with voltage readings and then do fancy things.
__________________
sudo chmod u+x helloworld.sh
gotta start somewhere.
Reply With Quote
 


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


All times are GMT -5. The time now is 18:25.

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