Sarafun Behavior Trees package  1
Behavior trees for the SARAFun project
 All Data Structures Namespaces Functions Variables Enumerations Enumerator
json tree_generator::TreeFromKF::createTree ( const std::vector< sarafun_msgs::KeyframeMsg > &  keyframes_list)

Creates a JSON BT description from a sequence of keyframe labels.

Parameters
keyframes_listThe list of received keyframe messages.
Returns
The JSON node representing the JSON BT description.

Definition at line 119 of file TreeFromKF.cpp.

References addChildren(), tree_generator::SubTreeFromKF::createSubTree(), indices_, tree_generator::SubTreeFromKF::loadLabel(), and subtree_parser_.

Here is the call graph for this function: