Quote:
|
Originally Posted by jaywion
I need help with my code, its not working so far in Autonomous mode. We didn't have one at Reginals and want one for nationals please tell me whats wrong with my code.
|
What is it supposed to do? I noticed one odd thing right away:
Code:
if(tickCount >= SECS_TO_TICKS(1))
{
AUTO_STATE = AUTO_FINISHED; //AUTO_SECOND_STATE;
tickCount = 0;
}
Is it really supposed to go to the AUTO_FINISHED state after one second, or did you mean for it to go to AUTO_SECOND_STATE instead?
(If you surround your code with [
code] and [
/code] tags when you post it here, the whitespace formatting will be preserved.)