Thread: Autonomous help
View Single Post
  #1   Spotlight this post!  
Unread 02-14-2009, 07:25 PM
csshakka csshakka is offline
Registered User
FRC #0818
Team Role: Programmer
 
Join Date: Jan 2009
Rookie Year: 2009
Location: Warren, MI
Posts: 21
csshakka is an unknown quantity at this point
Send a message via AIM to csshakka Send a message via MSN to csshakka
Autonomous help

Our team was trying to make an autonomous function that would turn until a certain degree was measured by the gyro then move forward. Our problem is that were not sure how to get it to work well. We have a code that does this, but only reads the gyro every 1-2 seconds which would let the destined range be passed when spinning. How would we go about doing this so that the gyro gets a reading every tenth of a second, but running motors so that spin occurs at the same time until a specified range is reached?
Reply With Quote