View Single Post
  #7   Spotlight this post!  
Unread 28-01-2013, 00:13
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,562
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Gyro not sending values?

Quote:
Originally Posted by Fifthparallel View Post
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.
The cRIO's analog accumulators perform simple integration of the gyro at rates much higher then you could do in software (it runs at approximately 50khz). It does not use the acceleration as shown in your formula.
Reply With Quote