#include "behaviortree_cpp/loggers/bt_cout_logger.h"
#include "behaviortree_cpp/bt_factory.h"
#include "movebase_node.h"
#include "dummy_nodes.h"
Go to the source code of this file.
Functions | |
int | main () |
Variables | |
static const char * | xml_text |
int main | ( | ) |
Definition at line 57 of file t06_subtree_port_remapping.cpp.
|
static |
In the CrossDoor example we did not exchange any information between the Maintree and the DoorClosed subtree.
If we tried to do that, we would have noticed that it can't be done, because each of the tree/subtree has its own Blackboard, to avoid the problem of name clashing in very large trees.
But a SubTree can have its own input/output ports. In practice, these ports are nothing more than "soft links" between the ports inside the SubTree (called "internal") and those in the parent Tree (called "external").
Definition at line 23 of file t06_subtree_port_remapping.cpp.