task
Defines a block of ogScript to be run when an event happens in the system. Tasks inside of label tags are fired when the label is clicked. Tasks inside of button tags are fired when the button is pressed. Tasks inside of listener tags are fired whenever a connection is established or whenever data is received.
The text content of the tag contains the actual ogScript to be executed.
Syntax
<component>
<task tasktype="task-type">ogScript-code</task>
</component>
Attributes
Tag |
Values |
Restrictions |
Description |
tasktype |
*ogscript robot vdcp rosstalk ogparamset timercontrol |
|
This attribute tells the editor user interface what type of task is contained in the tag body. Manually-edited tasks should simply use ogscript. |