View Single Post
  #9   Spotlight this post!  
Unread 06-01-2008, 18:37
EricS-Team180's Avatar
EricS-Team180 EricS-Team180 is offline
SPAM, the lunchmeat of superheroes!
AKA: Eric Schreffler
FRC #0180 (SPAM)
Team Role: Engineer
 
Join Date: Apr 2002
Rookie Year: 2001
Location: Stuart, Florida
Posts: 561
EricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond reputeEricS-Team180 has a reputation beyond repute
Re: Reading gyro before Autonomous mode

Quote:
Originally Posted by kaszeta View Post
At the beginning of the match, the robot is disabled, but auto mode is not yet set. It's worth noting that the bot is reading inputs, it's just not setting any outputs.
I agree with kaszeta, here. We've used AnalogDevices yaw rate sensors since 2004. While in competition (disabled) mode, we simply read the gyro and average it with the previous reading. When the mode changes, the final averaged value becomes our neutral point, which we use for the match. In the past many teams have taken several hundred samples during competition mode and created an average neutral point from them. Either way gives you a good 0 yaw rate point to use for the next 2:15

Eric
__________________

Don't PANIC!
S. P. A. M.

Last edited by EricS-Team180 : 06-01-2008 at 18:42.