View Single Post
  #5   Spotlight this post!  
Unread 06-01-2008, 14:38
Doug Leppard's Avatar
Doug Leppard Doug Leppard is offline
Registered User
FRC #1902 (Exploding Bacon)
Team Role: Engineer
 
Join Date: Apr 2003
Rookie Year: 2003
Location: Orlando
Posts: 435
Doug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond reputeDoug Leppard has a reputation beyond repute
Send a message via AIM to Doug Leppard
Re: Reading gyro before Autonomous mode

Quote:
Originally Posted by artdutra04 View Post
Last year for our drive-by autonomous mode, we used a gyro on our arm to get the angle that we had to turn to. As soon as the robot was turned on, we set the code to initialize the gyro (which takes a few seconds) on our arm before autonomous started. As soon as the gyro is initialized, it would sit right around 0, but over long periods of time the default value can drift as much as 15 degrees over a two or three minute period.
So you did the initialize routine before start of automode? If so that is good.
__________________
Doug Leppard