robokudo.subtree

Classes

SubtreeInterface

Interface for Subtrees to implement. This will be loaded by the RK runner.

Module Contents

class robokudo.subtree.SubtreeInterface

Bases: typing_extensions.Protocol

Interface for Subtrees to implement. This will be loaded by the RK runner. Please do NOT instantiate this class directly. The idea is to define a subclass of this interface which is providing an implementation of your desired behaviour tree. See src/robokudo/descriptors/analysis_engines for examples.

name() str

Return the name of this subtree.

implementation() py_trees.behaviour.Behaviour

Return the subtree implementation.