Updated How to Automatically Load a Driver Controlled Op Mode During a Match (markdown)

FTC Engineering
2020-12-01 12:15:00 -05:00
parent f1552b4f85
commit bda256e3bb

@ -1,16 +1,18 @@
A FIRST Tech Challenge match consists of a 30 second autonomous period followed by a 2 minute driver controlled (i.e., tele-operated) period. Previously, teams had to manually select their driver controlled op mode after the autonomous portion their match was over. Now, with version 6.1 and greater of the Driver Station software, teams can select an op mode to be automatically loaded as soon as their autonomous op mode run has completed. A FIRST Tech Challenge match consists of a 30 second autonomous period followed by a 2 minute driver controlled (i.e., tele-operated or teleop) period. Previously, teams had to manually select their teleop op mode after the autonomous portion their match was over.
This feature helps teams avoid selecting the wrong op mode during a match. Instead, a team can preselect the autonomous and driver controlled op modes in advance of their match. Teams can now preselect their teleop op mode, and have the Driver Station automatically load this op mode as soon as their autonomous run has completed. This feature can help a team avoid selecting the wrong op mode during a match.
To use this feature, verify that you are using version 6.1 or greater FTC software (Robot Controller and Driver Station). Also, in the Settings menu of the FTC Driver Station app, verify that "OpMode Auto Queue" option is enabled. To use this feature, verify that you are using version 6.1 or greater of the FTC software (Robot Controller and Driver Station). Also, in the Settings menu of the FTC Driver Station app, verify that "OpMode Auto Queue" option is enabled.
Select an autonomous program to use during your match. 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.
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 op mode. The button will then become fully opaque and the name of the preselected op mode will appear adjacent to the button. This indicates the feature is active.
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. 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. Drive Teams must still press init and start the op mode manually, for safety reasons.
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.
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.