icub-client
recognitionOrder.h
Go to the documentation of this file.
1 #ifndef RECOGNITIONORDER_H
2 #define RECOGNITIONORDER_H
3 
4 #include <iostream>
5 #include <yarp/os/all.h>
6 
7 #include "behavior.h"
8 
13 {
14 private:
15  yarp::os::Port port_to_homeo;
16  std::string port_to_homeo_name;
17  std::string homeoPort;
18 
19 protected:
20  void run(const yarp::os::Bottle &args);
22  port_to_homeo.interrupt();
23  port_to_homeo.close();
24  }
25 
26 public:
27  RecognitionOrder(yarp::os::Mutex* mut, yarp::os::ResourceFinder &rf, icubclient::ICubClient* iCub, std::string behaviorName): Behavior(mut, rf, iCub, behaviorName), manual(true) {
28  ;
29  }
30 
31  void configure();
32  bool manual;
33 };
34 
35 #endif
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)
RecognitionOrder(yarp::os::Mutex *mut, yarp::os::ResourceFinder &rf, icubclient::ICubClient *iCub, std::string behaviorName)
std::string behaviorName
Definition: behavior.h:27
yarp::os::ResourceFinder & rf
Definition: behavior.h:21