Sarafun Behavior Trees package  1
Behavior trees for the SARAFun project
 All Data Structures Namespaces Functions Variables Enumerations Enumerator
GrabObjectAction.cpp
1 #include <sarafun_tree/demo_bt_nodes/GrabObjectAction.h>
2 
3 namespace sarafun {
5  double timeout = 0;
6  fillParameter("/sarafun/bt/grab_object/timeout", 30.0, timeout);
7 
8  return timeout;
9 }
10 bool GrabObjectAction::fillGoal(sarafun_manipulation::GrabGoal &goal) {
11  return true;
12 }
13 }
14 
15 int main(int argc, char **argv) {
16  ros::init(argc, argv, "GrabObject");
17  sarafun::GrabObjectAction grab_action(ros::this_node::getName(),
18  "/sarafun/manipulation/grab",
19  "grab_object_action");
20  ros::spin();
21  return 1;
22 }
bool fillGoal(sarafun_manipulation::GrabGoal &goal)