Updated Automatically Loading a Driver Controlled Op Mode (markdown)
@ -22,7 +22,7 @@ Should you then wish to disable it, simply long press the preselect button. It w
|
||||
|
||||
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.
|
||||
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.
|
||||
|
||||
```
|
||||
@Autonomous(name="Blue Alliance Auto", group="Pushbot", preselectTeleOp="BlueAllianceTeleOp")
|
||||
|
Reference in New Issue
Block a user