|
This is true. The autonomous mode status is controlled through the competition port.
In your program, there is a way to tell when autonomous mode is on. There's a variable called "auton_mode". It will be 1 when your robot is running in autonomous mode. Just do a simple "IF" statement that checks if this variable is "1". If it is, run the autonomous code, otherwise, run the regular code.
__________________
The best moments of our lives fall in two categories: those that did happen and those that did not.
|