Sarafun Behavior Trees package  1
Behavior trees for the SARAFun project
 All Data Structures Namespaces Functions Variables Enumerations Enumerator
AlignDummy.cpp
1 #include <sarafun_bt_nodes_test/AlignDummy.h>
2 
3 namespace sarafun {
4 bool TestAlign::parseGoal(const sarafun_msgs::AlignKeyframeGoalConstPtr &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, "align_action_test");
12  sarafun::TestAlign action(ros::this_node::getName(),
13  "/sarafun/bt_nodes_test/align");
14  ros::spin();
15  return -1;
16 }
bool parseGoal(const sarafun_msgs::AlignKeyframeGoalConstPtr &goal)
Definition: AlignDummy.cpp:4