py_trees.demos.ports.basic module
Minimal typed input/output ports with a single behaviour node.
- class py_trees.demos.ports.basic.Multiply(name: str, **kwargs: Any)
Bases:
BehaviourWithPortsRead two floats and write their product.
- classmethod input_ports() dict
Return the input port declarations.
- classmethod output_ports() dict
Return the output port declarations.
- py_trees.demos.ports.basic.main() None
Run a single-node demo with explicit key remapping.
- py_trees.demos.ports.basic.seed_value(key: str, value: float) None
Write one value to an absolute blackboard key.