Functions | Variables
t05_crossdoor.cpp File Reference
#include "crossdoor_nodes.h"
#include "behaviortree_cpp/xml_parsing.h"
#include "behaviortree_cpp/loggers/bt_cout_logger.h"
#include "behaviortree_cpp/loggers/bt_minitrace_logger.h"
#include "behaviortree_cpp/loggers/bt_file_logger.h"
#include "behaviortree_cpp/blackboard/blackboard_local.h"
Include dependency graph for t05_crossdoor.cpp:

Go to the source code of this file.

Functions

int main ()
 

Variables

const std::string xml_text
 

Function Documentation

int main ( )

Definition at line 47 of file t05_crossdoor.cpp.

Variable Documentation

const std::string xml_text
Initial value:
= R"(
<root main_tree_to_execute = "MainTree">
<!--------------------------------------->
<BehaviorTree ID="DoorClosed">
<Sequence name="door_closed_sequence">
<Inverter>
<Condition ID="IsDoorOpen"/>
</Inverter>
<RetryUntilSuccesful num_attempts="4">
<OpenDoor/>
</RetryUntilSuccesful>
<PassThroughDoor/>
</Sequence>
</BehaviorTree>
<!--------------------------------------->
<BehaviorTree ID="MainTree">
<Fallback name="root_Fallback">
<Sequence name="door_open_sequence">
<IsDoorOpen/>
<PassThroughDoor/>
</Sequence>
<SubTree ID="DoorClosed"/>
<PassThroughWindow/>
</Fallback>
</BehaviorTree>
<!--------------------------------------->
</root>
)"

Definition at line 14 of file t05_crossdoor.cpp.



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