@@ -38,10 +38,10 @@ class SubtreeNode : public DecoratorNode
38
38
<BehaviorTree ID="MainTree">
39
39
<Sequence>
40
40
41
- <SetBlackboard value="Hello" output_key="myParam" />
41
+ <SetBlackboard value="Hello World " output_key="myParam" />
42
42
<SubTreePlus ID="Talk" param="{myParam}" />
43
43
44
- <SubTreePlus ID="Talk" param="World " />
44
+ <SubTreePlus ID="Talk" param="Listen to me " />
45
45
46
46
<SetBlackboard value="Auto remapped" output_key="param" />
47
47
<SubTreePlus ID="Talk" __autoremap="1" />
@@ -56,14 +56,14 @@ class SubtreeNode : public DecoratorNode
56
56
57
57
* You may notice three different approaches to remapping:
58
58
*
59
- * 1) Subtree: "{param}" -> Parent: "{myParam}" -> Value: "Hello"
59
+ * 1) Subtree: "{param}" -> Parent: "{myParam}" -> Value: "Hello World "
60
60
* Classical remapping from one port to another, but you need to use the syntax
61
61
* {myParam} to say that you are remapping the another port.
62
62
*
63
- * 2) Subtree: "{param}" -> Value: "World "
63
+ * 2) Subtree: "{param}" -> Value: "Listen to me "
64
64
* syntax without {}, in this case param directly point to the string "World".
65
65
*
66
- * 3) Subtree: "{param}" -> Parent: "{parent}"
66
+ * 3) Subtree: "{param}" -> Parent: "{parent}" -> Value: "Auto remapped"
67
67
* Setting to true (or 1) the attribute "__autoremap", we are automatically remapping
68
68
* each port. Usefull to avoid some boilerplate.
69
69
0 commit comments