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

Go to the source code of this file.

Functions

int main ()
 

Variables

static const char * xml_text_reactive
 
static const char * xml_text_sequence
 

Function Documentation

◆ main()

int main ( )

Definition at line 55 of file t04_reactive_sequence.cpp.

Variable Documentation

◆ xml_text_reactive

const char* xml_text_reactive
static
Initial value:
= R"(
<root BTCPP_format="4" >
<BehaviorTree ID="MainTree">
<ReactiveSequence name="root">
<BatteryOK/>
<Sequence>
<SaySomething message="mission started..." />
<MoveBase goal="1;2;3"/>
<SaySomething message="mission completed!" />
</Sequence>
</ReactiveSequence>
</BehaviorTree>
</root>
)"

Definition at line 33 of file t04_reactive_sequence.cpp.

◆ xml_text_sequence

const char* xml_text_sequence
static
Initial value:
= R"(
<root BTCPP_format="4" >
<BehaviorTree ID="MainTree">
<Sequence name="root">
<BatteryOK/>
<SaySomething message="mission started..." />
<MoveBase goal="1;2;3"/>
<SaySomething message="mission completed!" />
</Sequence>
</BehaviorTree>
</root>
)"

This tutorial will teach you:

  • The difference between Sequence and ReactiveSequence
  • How to create an asynchronous ActionNode.

Definition at line 17 of file t04_reactive_sequence.cpp.



behaviortree_cpp_v4
Author(s): Davide Faconti
autogenerated on Fri Dec 13 2024 03:19:18