robokudo.gui¶
GUI-related behavior tree components for RoboKudo.
This module provides behaviors that control GUI rendering and visualization in RoboKudo pipelines. The behaviors can be used to trigger redrawing of annotator outputs and manage pipeline visualization state.
Classes¶
A behavior that triggers GUI redraw of pipeline outputs. |
Module Contents¶
- class robokudo.gui.SetPipelineRedraw(name='SetPipelineRedraw')¶
-
Bases:
py_trees.behaviour.BehaviourA behavior that triggers GUI redraw of pipeline outputs.
This behavior indicates that the GUI output of the owning Pipeline should render its AnnotatorOutputs in the next tick(). Useful when you want to render current AnnotatorOutputs while the Pipeline is still running.
Note
This behavior must be added directly as a child to a
robokudo.pipeline.Pipelinenode.- Variables:
-
name – Name of the behavior, defaults to “SetPipelineRedraw”
- update()¶
-
Execute the behavior’s update step.
Checks if the parent is a Pipeline and sets its redraw flag. Returns SUCCESS if redraw was set, FAILURE if parent is not a Pipeline.
- Returns:
-
Behavior execution status
- Return type:
-
py_trees.common.Status