Skip to content

Using the utomatic TeleOp

FTC Engineering edited this page Dec 1, 2020 · 1 revision

Introduces an automatic TeleOp preselection feature * Prevents Drive Teams from having to manually scroll through the OpMode list to find their TeleOp program during the 7-second transition period * Drive Teams must still press init and start the manually, for safety reasons. * After selecting an Autonomous program, the preselect button will appear in the lower left corner of the screen. It will be translucent and have no text adjacent to it, indicating the feature is inactive. * To activate it, simply tap the (translucent) button and select an OpMode. The button will then become fully opaque and the name of the preselected OpMode will appear adjacent to the button. This indicates the feature is active. * Should you then wish to disable it, simply long press the preselect button. It will become translucent again and the text adjacent to it will disappear. * After the Autonomous program ends, the Driver Station changes the queued OpMode to the TeleOp program which was preselected before the start of Autonomous. * The auto-preselection will be aborted if the user presses stop (either the main stop or init stop buttons). It will only transition if the OpMode either self-exits, or is terminated by the 30s timer. * Should you wish to not be required to manually enable and configure the preselection feature each time you want to run your Autonomous program, you can edit your OpMode annotation to include preselectTeleOp="My TeleOp Name". The Driver Station will then automatically activate the preselection feature and configure it to preselect the OpMode specified in the annotation. Blockly users can make use of this feature as well, through a new dropdown in the Blockly program editor.

Clone this wiki locally