Functions | Variables
t05_crossdoor.cpp File Reference
#include "crossdoor_nodes.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/bt_factory.h"
Include dependency graph for t05_crossdoor.cpp:

Go to the source code of this file.

Functions

int main (int argc, char **argv)

Variables

static const char * xml_text

Function Documentation

int main ( int  argc,
char **  argv 
)

Definition at line 61 of file t05_crossdoor.cpp.


Variable Documentation

const char* xml_text [static]
Initial value:
"/>
                <PassThroughWindow/>
            </Fallback>
            <CloseDoor/>
        </Sequence>
    </BehaviorTree>
    <!---------------------------------------> 
</root>
 )"

This is a more complex example that uses Fallback, Decorators and Subtrees

For the sake of simplicity, we aren't focusing on ports remapping to the time being.

Furthermore, we introduce Loggers, which are a mechanism to trace the state transitions in the tree for debugging purposes.

Definition at line 25 of file t05_crossdoor.cpp.



behaviortree_cpp
Author(s): Michele Colledanchise, Davide Faconti
autogenerated on Sat Jun 8 2019 20:17:15