Functions | Variables
t15_nodes_mocking.cpp File Reference
#include "behaviortree_cpp/bt_factory.h"
#include "dummy_nodes.h"
Include dependency graph for t15_nodes_mocking.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)
 In this example we will see how we can substitute some nodes in the Tree above with. More...
 

Variables

static const char * xml_text
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

In this example we will see how we can substitute some nodes in the Tree above with.

Parameters
argc
argv
Returns

Definition at line 46 of file t15_nodes_mocking.cpp.

Variable Documentation

◆ xml_text

const char* xml_text
static
Initial value:
= R"(
<root BTCPP_format="4">
<BehaviorTree ID="MainTree">
<Sequence>
<SaySomething name="talk" message="hello world"/>
<SubTree ID="MySub" name="mysub"/>
<Script name="set_message" code="msg:= 'the original message' "/>
<SaySomething message="{msg}"/>
<Sequence name="counting">
<SaySomething message="1"/>
<SaySomething message="2"/>
<SaySomething message="3"/>
</Sequence>
</Sequence>
</BehaviorTree>
<BehaviorTree ID="MySub">
<Sequence>
<AlwaysSuccess name="action_subA"/>
<AlwaysSuccess name="action_subB"/>
</Sequence>
</BehaviorTree>
</root>
)"

Definition at line 6 of file t15_nodes_mocking.cpp.



behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Jun 28 2024 02:20:08