Thread: Check My Code
View Single Post
  #1   Spotlight this post!  
Unread 16-03-2011, 20:15
jhellr13 jhellr13 is offline
Registered User
FRC #4272
Team Role: Mentor
 
Join Date: Jan 2011
Rookie Year: 2010
Location: US
Posts: 187
jhellr13 is an unknown quantity at this point
Check My Code

My team is competing in the long island regional next week, and we want to make sure our autonomous works. I have attached my code, and hope that anyone can look it over and tell me if I need to fix some things. A question i have is how to make a motor run for certain amounts of time, especially a relay. I put a wait function in these sections in the code, figuring that is what i need, but am unsure. Most of my questions/concerns are in the code itself, so please read all the text boxes i have added.
Basically what we want is the robot to follow the line, then raise the arm, drive forward, lower the arm for a slight period of time, then backup.

Thanks for the help in advanced.
Attached Files
File Type: vi Arcade Drive Autnomous FINAL.vi (15.7 KB, 38 views)
Reply With Quote