Quote:
|
Originally Posted by Allison
is it allowed to have something like a switch or jumpers on your OI to set your autonomous mode or does it have to be done on the robot?
|
We've got a rotary switch on our OI that selects from the menu of autonomous options. The OI inputs do get passed to the robot during the disabled period
before autonomous mode begins, so you can read the mode selection and store it somewhere to be used
during
autonomous mode. The OI won't be active while autonomous mode is underway -- default values will be transmitted to the robot -- so you'll have to make sure not to accidentally try to read the mode selection after the match begins.