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