On Tasks Done
Finish actions that can be taken following the completion of all tasks in the queue.
Since
7.0.0
Entries
Executes finish and automatically halts all hardware via the safeHaltHardware method when all tasks are completed. This is the default behaviour.
Executes finish, but does not safe halt hardware when all tasks are completed. This is useful for situations where servos should remain powered for the rest of the OpMode, and motor powers left at their last value. This mode is not appropriate for controls that require an active loop, as system controllers will receive no updates.
Continue running the OpMode, allowing default tasks on subsystems and periodic to continue execution when all tasks are completed. This is most appropriate for PID loops that need to continue, such as holding a position until the rest of the OpMode is completed.
Functions
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.