icub-client
moveObject.h
Go to the documentation of this file.
1 #ifndef MOVEOBJECT
2 #define MOVEOBJECT
3 
4 #include "behavior.h"
5 
9 class MoveObject: public Behavior
10 {
11 protected:
12  void run(const yarp::os::Bottle &args);
13 
18 
20  ;
21  }
22 
23 public:
24  MoveObject(yarp::os::Mutex* mut, yarp::os::ResourceFinder &rf, icubclient::ICubClient* iCub, std::string behaviorName):
25  Behavior(mut, rf, iCub, behaviorName),
26  target_pullback(-0.25),
27  target_pushfront(-0.5),
28  target_pushleft(-0.2),
29  target_pushright(0.2)
30  {
31  ;
32  }
33 
34  void configure();
35 };
36 
37 #endif // MOVEOBJECT
icubclient::ICubClient * iCub
Definition: behavior.h:20
Grants access to high level motor commands (grasp, touch, look, goto, etc) of the robot as well as it...
Definition: icubClient.h:66
void run(const yarp::os::Bottle &args)
Definition: moveObject.cpp:14
MoveObject(yarp::os::Mutex *mut, yarp::os::ResourceFinder &rf, icubclient::ICubClient *iCub, std::string behaviorName)
Definition: moveObject.h:24
double target_pushfront
Definition: moveObject.h:15
double target_pushright
Definition: moveObject.h:17
double target_pullback
Definition: moveObject.h:14
std::string behaviorName
Definition: behavior.h:27
void configure()
Definition: moveObject.cpp:6
double target_pushleft
Definition: moveObject.h:16
yarp::os::ResourceFinder & rf
Definition: behavior.h:21
void close_extra_ports()
Definition: moveObject.h:19