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

Go to the source code of this file.

Functions

void Assert (bool condition)
 
int main ()
 

Variables

const std::string xml_text_sequence
 
const std::string xml_text_sequence_star
 

Function Documentation

void Assert ( bool  condition)

Definition at line 54 of file t03_sequence_star.cpp.

int main ( )

Definition at line 60 of file t03_sequence_star.cpp.

Variable Documentation

const std::string xml_text_sequence
Initial value:
= R"(
<root main_tree_to_execute = "MainTree" >
<BehaviorTree ID="MainTree">
<Sequence name="root">
<BatteryOK/>
<TemperatureOK />
<SaySomething message="mission started..." />
<MoveBase goal="1;2;3"/>
<SaySomething message="mission completed!" />
</Sequence>
</BehaviorTree>
</root>
)"

This tutorial will tech you:

  • The difference between Sequence and SequenceStar
  • How to create and use a TreeNode that accepts NodeParameters
  • How to create an asynchronous ActionNode (an action that is execute in its own thread).

Definition at line 18 of file t03_sequence_star.cpp.

const std::string xml_text_sequence_star
Initial value:
= R"(
<root main_tree_to_execute = "MainTree" >
<BehaviorTree ID="MainTree">
<SequenceStar name="root">
<BatteryOK/>
<TemperatureOK />
<SaySomething message="mission started..." />
<MoveBase goal="1;2;3"/>
<SaySomething message="mission completed!" />
</SequenceStar>
</BehaviorTree>
</root>
)"

Definition at line 35 of file t03_sequence_star.cpp.



behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sun Feb 3 2019 03:14:32