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