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