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::SubTreeFromKF Class Reference

#include <TreeFromKF.hpp>

Collaboration diagram for tree_generator::SubTreeFromKF:
Collaboration graph

Public Member Functions

 SubTreeFromKF ()
 
 ~SubTreeFromKF ()
 
bool loadLabel (std::string label)
 
json createSubTree (std::vector< int > &indices)
 

Private Member Functions

json modifyId (json node, std::vector< int > &indices)
 

Private Attributes

ros::NodeHandle nh_
 
json subtree_
 
std::ifstream file_
 
bool has_label_
 
std::string current_id_
 

Detailed Description

This class constructs one pre-defined BT subtree, given the semantic information contained in a keyframe.

The files describing the subtrees are defined in the /data/subtrees directory, and must have names matching the labels loaded in the parameter server.

Definition at line 22 of file TreeFromKF.hpp.


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