Quote:
Originally posted by Neal Turett
Only thing to note is that if you use dead-reackoning, you need to tie the beginning of your autonomous code to another button, lest it run while the robot is disabled while the RC is not plugged in and your timer-count increase.
|
The only problem with that is that button presses don't get sent to the RC, so it would never know about it. You are definately correct that you need a way to "start" your autonomous code, but this is best done by looking at the comp_mode bit, as its state will tell you whether you are disabled or active.