Sarafun Behavior Trees package
1
Behavior trees for the SARAFun project
Main Page
Data Structures
All
Data Structures
Namespaces
Functions
Variables
Enumerations
Enumerator
sarafun_tree
include
sarafun_tree
TreeRunner.h
1
#include <ros/ros.h>
2
#include <behavior_tree_core/BehaviorTree.h>
3
#include <behavior_tree_core/ControlNode.h>
4
#include <sarafun_tree/parse_tree.h>
5
6
using namespace
BT;
7
namespace
sarafun
8
{
15
class
TreeRunner
16
{
17
public
:
21
TreeRunner
(
int
tick_period);
22
29
bool
startTree(std::string tree_description_path);
30
34
void
stopTree();
35
36
private
:
37
int
tick_period_
;
38
bt_parser::Parser
*
parser_
;
39
ControlNode *
root_
;
40
boost::thread *
tree_thread_
, *draw_thread_;
41
};
42
}
sarafun::TreeRunner::root_
ControlNode * root_
Definition:
TreeRunner.h:39
bt_parser::Parser
Definition:
parse_tree.h:17
sarafun::TreeRunner::parser_
bt_parser::Parser * parser_
Definition:
TreeRunner.h:38
sarafun::TreeRunner::tick_period_
int tick_period_
Definition:
TreeRunner.h:37
sarafun::TreeRunner
Definition:
TreeRunner.h:15
sarafun::TreeRunner::tree_thread_
boost::thread * tree_thread_
Definition:
TreeRunner.h:40
Generated on Fri Feb 17 2017 11:14:54 for Sarafun Behavior Trees package by
1.8.6