Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 927c913

Browse files
2 parents 4549d9e + d3667ce commit 927c913

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

include/behaviortree_cpp_v3/decorators/subtree_node.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class SubtreeNode : public DecoratorNode
2929
};
3030

3131
/**
32-
* @brief The TransparentSubtreeNode is a way to wrap an entire Subtree.
32+
* @brief The SubtreeWrapperNode is a way to wrap an entire Subtree.
3333
* It does NOT have a separated BlackBoard and does not need ports remapping.
3434
*/
3535
class SubtreeWrapperNode : public DecoratorNode

src/basic_types.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ NodeType convertFromString<NodeType>(StringView str)
208208
if( str == "Condition" ) return NodeType::CONDITION;
209209
if( str == "Control" ) return NodeType::CONTROL;
210210
if( str == "Decorator" ) return NodeType::DECORATOR;
211-
if( str == "SubTree" || str == "Subtree" ) return NodeType::SUBTREE;
211+
if( str == "SubTree" || str == "SubtreeWrapper" ) return NodeType::SUBTREE;
212212
return NodeType::UNDEFINED;
213213
}
214214

src/decorators/subtree_node.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ BT::NodeStatus BT::SubtreeNode::tick()
2020
BT::SubtreeWrapperNode::SubtreeWrapperNode(const std::string &name) :
2121
DecoratorNode(name, {} )
2222
{
23-
setRegistrationID("TransparentSubtree");
23+
setRegistrationID("SubtreeWrapper");
2424
}
2525

2626
BT::NodeStatus BT::SubtreeWrapperNode::tick()

0 commit comments

Comments
 (0)