AutoAPMS
Resilient Robot Mission Management
Loading...
Searching...
No Matches
auto_apms_behavior_tree::model Namespace Reference

Models for all available behavior tree nodes. More...

Classes

class  SubTree
 Subtree behavior tree node model. More...
 

Detailed Description

Models for all available behavior tree nodes.

Behavior tree node models are generated under the namespace my_package_name::model when specifying the NODE_MODEL_HEADER_TARGET argument of the CMake macro auto_apms_behavior_tree_declare_nodes in the CMakeLists.txt of a package with name my_package_name.

Usage

In the CMakeLists.txt of the package call the macro as follows:

auto_apms_behavior_tree_declare_nodes(node_library_target
... # Fully qualified class names of the node plugins
NODE_MODEL_HEADER_TARGET model_header_target
)

After building the package, there is a header file named node_library_target.hpp which may be included by the C++ files associated with the target model_header_target like this:

#include <my_package_name/node_library_target.hpp>