AutoAPMS
Resilient Robot Mission Management
|
Subtree behavior tree node model. More...
#include <auto_apms_behavior_tree_core/node/node_model_type.hpp>
Public Member Functions | |
std::string | getRegistrationName () const override final |
Get the type specific name under which all subtree nodes are registered with the behavior tree factory. | |
SubTree & | setBlackboardRemapping (const PortValues &remapping) |
Configure which blackboard entries of the subtree node's parent tree should be also available for the children of the tree this subtree node is pointing to. | |
SubTree & | set_auto_remap (bool val=false) |
Set automatic blackboard remapping. | |
bool | get_auto_remap () const |
Get automatic blackboard remapping. | |
Static Public Member Functions | |
static std::string | name () |
Static method that provides the hard coded registration name of subtree nodes. | |
static BT::NodeType | type () |
Type of the behavior tree node. | |
Subtree behavior tree node model.
This model implements extra methods specific to the subtree concept.
Definition at line 161 of file node_model_type.hpp.
|
static |
Static method that provides the hard coded registration name of subtree nodes.
Definition at line 35 of file node_model_type.cpp.
|
static |
Type of the behavior tree node.
Definition at line 33 of file node_model_type.cpp.
|
finaloverride |
Get the type specific name under which all subtree nodes are registered with the behavior tree factory.
Definition at line 37 of file node_model_type.cpp.
SubTree & setBlackboardRemapping | ( | const PortValues & | remapping | ) |
Configure which blackboard entries of the subtree node's parent tree should be also available for the children of the tree this subtree node is pointing to.
remapping | Mapping of blackboard entry names in the format {subtree_entry_name: original_tree_entry_name} |
Definition at line 39 of file node_model_type.cpp.
SubTree & set_auto_remap | ( | bool | val = false | ) |
Set automatic blackboard remapping.
val | true to enable and false to disable. |
Definition at line 53 of file node_model_type.cpp.
bool get_auto_remap | ( | ) | const |
Get automatic blackboard remapping.
Definition at line 55 of file node_model_type.cpp.