Thread: Gyro Questions
View Single Post
  #6   Spotlight this post!  
Unread 01-02-2010, 15:37
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,567
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 Questions

Quote:
Originally Posted by Tanis View Post
So that means that depending on your workspace, temperature could definitely skew things. Plus, arenas such as the ones we find at competition are typically chilly, so you will likely find different gyro readings at competition than at your workplace.
The WPI Robotics Library Gyro routines automatically accumulates the gyro value for a period of several seconds on startup. The rate changes from then on are referenced to this initial baseline value. You only have to worry about temperature compensation if you expect large temperature changes during a single match.

It doesn't matter if the temperature changes between your workspace and the competition as long as the robot is power cycled between those two places.