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