Quote:
|
Originally Posted by KenWittlief
great idea - students have a difficult time remembering to set auton switches while they are planting the bot on the field
one important thing - if you are going to use the competition_mode flag to determine when you are disabled, the documentation from IFI is WRONG!!
competition_mode = 0 when the bot is enabled
competition_mode = 1 when the bot is disabled
( I sat up half the night at cleveland staring at my code trying to figure out why it wasnt working right. ^ turned out to be the reason).
|
If you have avaliable I/O on the OI (I love that line)...
Last year we set autonomous mode at the operator interface. The students pressed a "SET" button on the interface that would tell the robot to store the autonmous selection.
One thing I would change: throw some LEDs that blink rapidly if the autonomous program is not set. Even cooler: figure a way to add an audible alarm.