View Single Post
  #12   Spotlight this post!  
Unread 08-03-2004, 19:39
jacob_dilles's Avatar
jacob_dilles jacob_dilles is offline
Registered User
AKA: theshadow
FRC #0620 (WarBots)
Team Role: Mentor
 
Join Date: Jan 2003
Rookie Year: 2003
Location: Vienna, VA
Posts: 245
jacob_dilles will become famous soon enough
Send a message via AIM to jacob_dilles
Re: problem with autonomous that has stumped all programmers so far

Quote:
Originally Posted by KenWittlief
but either way, you should be able to switch back and forth between auton and driver mode without someone having to push a reset button - just have a section at the end of your driver mode code that sets up the auton variables to start from the beginning - it will make testing your bot much easier.
in the begening of the auton mode code you should have a:
Code:
unsigned count = 0;
unsigend leftcount = 0;
unsigned rightcount = 0;
so that you dont have to reset. it is a matter of pricaple. this way you will never get thos errors
__________________
--------------------------
"You're not a real programmer until all your sentences end with semicolons;"