Sarafun Behavior Trees package  1
Behavior trees for the SARAFun project
 All Data Structures Namespaces Functions Variables Enumerations Enumerator
Public Member Functions | Private Member Functions | Private Attributes
tree_generator::TreeFromKF Class Reference

#include <TreeFromKF.hpp>

Collaboration diagram for tree_generator::TreeFromKF:
Collaboration graph

Public Member Functions

 TreeFromKF ()
 
 ~TreeFromKF ()
 
json createTree (const std::vector< sarafun_msgs::KeyframeMsg > &keyframes_list)
 

Private Member Functions

void addChildren (const json &tree, std::map< std::string, json > &children_map)
 

Private Attributes

std::vector< int > indices_
 
json tree_
 
SubTreeFromKF subtree_parser_
 

Detailed Description

Creates a JSON behavior tree description from a sequence of keyframe labels. It works by aggregating different subtrees defined for each label.

Definition at line 69 of file TreeFromKF.hpp.


The documentation for this class was generated from the following files: