TriggerAction

Actions that can be executed on the event of a halting condition.

Entries

Link copied to clipboard

Pause execution of the OpMode via halt(). Motors will remain at their previous settings, not recommended.

Link copied to clipboard

Pause execution of the OpMode via halt() and set all motor/CRServo powers to 0 via stopMotors().

Link copied to clipboard

Pause execution of the OpMode via halt() and safe shut down all hardware via safeHaltHardware().

Link copied to clipboard

Stop execution of the OpMode via exit(), much as if the user were to press the `STOP` button.

Link copied to clipboard

Force-terminate the OpMode via method of a halting exception (emergencyStop()).

Functions

Link copied to clipboard

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.)

Link copied to clipboard

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.