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