From c6851259e81bf75106a36762df3e6aef9be55710 Mon Sep 17 00:00:00 2001 From: Serhii Snitsaruk Date: Tue, 18 Jun 2024 13:25:33 +0200 Subject: [PATCH] Doc: Mention mapping in BTSubtree class doc --- doc/source/classes/class_btsubtree.rst | 2 ++ doc_classes/BTSubtree.xml | 1 + 2 files changed, 3 insertions(+) diff --git a/doc/source/classes/class_btsubtree.rst b/doc/source/classes/class_btsubtree.rst index f64b81a..0cecbf4 100644 --- a/doc/source/classes/class_btsubtree.rst +++ b/doc/source/classes/class_btsubtree.rst @@ -23,6 +23,8 @@ BTSubtree instantiates a :ref:`BehaviorTree` and includes it Returns the status of the subtree's execution. +Subtree blackboard variables can be mapped to the main tree blackboard plan variables. Check out mapping section in the inspector. + Note: BTSubTree is designed as a simpler loader, and does not support updating :ref:`subtree` at runtime. A custom subtree decorator is better suited and `somewhat trivial `__ to implement. .. rst-class:: classref-reftable-group diff --git a/doc_classes/BTSubtree.xml b/doc_classes/BTSubtree.xml index e25a9d6..f79efb5 100644 --- a/doc_classes/BTSubtree.xml +++ b/doc_classes/BTSubtree.xml @@ -6,6 +6,7 @@ BTSubtree instantiates a [BehaviorTree] and includes its root task as a child during initialization, while also creating a new [Blackboard] scope. Returns the status of the subtree's execution. + Subtree blackboard variables can be mapped to the main tree blackboard plan variables. Check out mapping section in the inspector. Note: BTSubTree is designed as a simpler loader, and does not support updating [member subtree] at runtime. A custom subtree decorator is better suited and [url=https://github.com/limbonaut/limboai/issues/94#issuecomment-2068833610]somewhat trivial[/url] to implement.