Sarafun Behavior Trees package  1
Behavior trees for the SARAFun project
 All Data Structures Namespaces Functions Variables Enumerations Enumerator
GrabDummy.h
1 #ifndef __GRAB_DUMMY__
2 #define __GRAB_DUMMY__
3 
4 #include <ros/ros.h>
5 #include <sarafun_manipulation/GrabAction.h>
6 #include <sarafun_generic_al_server/sarafun_test_server.h>
7 
8 namespace sarafun {
9 class TestGrab : TestServer<sarafun_manipulation::GrabAction,
10  sarafun_manipulation::GrabGoalConstPtr,
11  sarafun_manipulation::GrabFeedback,
12  sarafun_manipulation::GrabResult> {
13 public:
14  TestGrab(std::string node_name, std::string actionlib_name)
15  : TestServer<
16  sarafun_manipulation::GrabAction,
17  sarafun_manipulation::GrabGoalConstPtr,
18  sarafun_manipulation::GrabFeedback,
19  sarafun_manipulation::GrabResult>::TestServer(node_name,
20  actionlib_name) {}
21 
22  ~TestGrab() {}
23 
24 protected:
25  bool parseGoal(const sarafun_manipulation::GrabGoalConstPtr &goal);
26 };
27 }
28 
29 #endif
bool parseGoal(const sarafun_manipulation::GrabGoalConstPtr &goal)
Definition: GrabDummy.cpp:4
TestGrab(std::string node_name, std::string actionlib_name)
Definition: GrabDummy.h:14