Go to the source code of this file.
◆ main()
◆ xml_text_main
const char* xml_text_main |
|
static |
Initial value:= R"(
<root BTCPP_format="4">
<BehaviorTree ID="MainTree">
<Sequence>
<SaySomething message="starting MainTree" />
<SubTree ID="SubA"/>
<SubTree ID="SubB"/>
</Sequence>
</BehaviorTree>
</root> )"
This example show how it is possible to:
- load BehaviorTrees from multiple files manually (without the tag)
- instantiate a specific tree, instead of the one specified by [main_tree_to_execute]
Definition at line 11 of file t07_load_multiple_xml.cpp.
◆ xml_text_subA
const char* xml_text_subA |
|
static |
Initial value:= R"(
<root BTCPP_format="4">
<BehaviorTree ID="SubA">
<SaySomething message="Executing SubA" />
</BehaviorTree>
</root> )"
Definition at line 22 of file t07_load_multiple_xml.cpp.
◆ xml_text_subB
const char* xml_text_subB |
|
static |
Initial value:= R"(
<root BTCPP_format="4">
<BehaviorTree ID="SubB">
<SaySomething message="Executing SubB" />
</BehaviorTree>
</root> )"
Definition at line 29 of file t07_load_multiple_xml.cpp.