Sarafun Behavior Trees package  1
Behavior trees for the SARAFun project
 All Data Structures Namespaces Functions Variables Enumerations Enumerator
AssembledDummy.cpp
1 #include <sarafun_bt_nodes_test/AssembledDummy.h>
2 
3 namespace sarafun {
4 bool TestAssembled::parseGoal(const sarafun_msgs::AssembledKeyframeGoalConstPtr &goal) {
5  ROS_INFO("%s got goal idx: %d", action_name_.c_str(), goal->idx);
6  return true;
7 }
8 }
9 
10 int main(int argc, char **argv) {
11  ros::init(argc, argv, "assembled_action_test");
12  sarafun::TestAssembled action(ros::this_node::getName(),
13  "/sarafun/bt_nodes_test/assembled");
14  ros::spin();
15  return -1;
16 }
bool parseGoal(const sarafun_msgs::AssembledKeyframeGoalConstPtr &goal)