View Single Post
  #2   Spotlight this post!  
Unread 06-01-2008, 14:14
Joohoo's Avatar
Joohoo Joohoo is offline
Registered User
FRC #0340 (G.R.R.)
Team Role: Mentor
 
Join Date: Jun 2005
Rookie Year: 2005
Location: Rochester
Posts: 241
Joohoo is just really niceJoohoo is just really niceJoohoo is just really niceJoohoo is just really niceJoohoo is just really nice
Send a message via AIM to Joohoo Send a message via Yahoo to Joohoo
Re: Reading gyro before Autonomous mode

One thing that you could do, is in the initialization function. you could initialize the value to a function return or a hard coded value. so inside the initialization function you would do this
Quote:
gyroHeading = initGyroHeading();
or something to that effect, this should set the heading to what ever you want it to be. Im not %100 sure that you can get values straight off the pins right away before you exit whatever mode you are in before a match, but i dont see why.