Go to the source code of this file.
| void Assert |
( |
bool |
condition | ) |
|
| 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.