robokudo.idioms¶
Common behavior patterns for RoboKudo pipelines.
This module provides reusable behavior patterns that are commonly used in RoboKudo pipelines. These patterns encapsulate standard combinations of annotators and behaviors that are frequently needed together.
The module provides:
Standard initialization sequences for pipelines
Common error handling patterns
Reusable behavior combinations
Functions¶
|
Same as pipeline_init(), but without waiting for the query-related actions to complete. |
|
This method returns a Behaviour/Composite node which hosts different nodes to reset and prepare internal |
Module Contents¶
- robokudo.idioms.non_query_pipeline_init() py_trees.behaviour.Behaviour¶
-
Same as pipeline_init(), but without waiting for the query-related actions to complete. This is the behavior which was used before Dec’25 in RK by default. :return:
- robokudo.idioms.pipeline_init() py_trees.behaviour.Behaviour¶
-
This method returns a Behaviour/Composite node which hosts different nodes to reset and prepare internal datastructures properly before the next iteration can start. It will reset the visualization outputs (Annotator Outputs), waits until all pending operations on the query server (if present) are done (abort goal operations, send goal results, etc.). Finally, it will clear any previous exceptions present in the error variable.
- Returns:
-
A sequence behavior containing initialization steps
- Return type:
-
py_trees.behaviour.Behaviour