File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
include/behaviortree_cpp_v3/decorators Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ class SubtreeNode : public DecoratorNode
29
29
};
30
30
31
31
/* *
32
- * @brief The TransparentSubtreeNode is a way to wrap an entire Subtree.
32
+ * @brief The SubtreeWrapperNode is a way to wrap an entire Subtree.
33
33
* It does NOT have a separated BlackBoard and does not need ports remapping.
34
34
*/
35
35
class SubtreeWrapperNode : public DecoratorNode
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ NodeType convertFromString<NodeType>(StringView str)
208
208
if ( str == " Condition" ) return NodeType::CONDITION;
209
209
if ( str == " Control" ) return NodeType::CONTROL;
210
210
if ( str == " Decorator" ) return NodeType::DECORATOR;
211
- if ( str == " SubTree" || str == " Subtree " ) return NodeType::SUBTREE;
211
+ if ( str == " SubTree" || str == " SubtreeWrapper " ) return NodeType::SUBTREE;
212
212
return NodeType::UNDEFINED;
213
213
}
214
214
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ BT::NodeStatus BT::SubtreeNode::tick()
20
20
BT::SubtreeWrapperNode::SubtreeWrapperNode (const std::string &name) :
21
21
DecoratorNode(name, {} )
22
22
{
23
- setRegistrationID (" TransparentSubtree " );
23
+ setRegistrationID (" SubtreeWrapper " );
24
24
}
25
25
26
26
BT::NodeStatus BT::SubtreeWrapperNode::tick ()
You can’t perform that action at this time.
0 commit comments