1 #ifndef HOMEO_MANAGER_ICUB 2 #define HOMEO_MANAGER_ICUB 7 #include <yarp/os/all.h> 8 #include <yarp/sig/all.h> 9 #include <yarp/math/SVD.h> 22 std::string moduleName;
25 std::vector< yarp::os::BufferedPort<yarp::os::Bottle> * > input_ports;
26 std::vector< yarp::os::BufferedPort<yarp::os::Bottle> * > outputM_ports;
27 std::vector< yarp::os::BufferedPort<yarp::os::Bottle> * > outputm_ports;
29 yarp::os::BufferedPort<yarp::os::Bottle> input_port;
37 bool addNewDrive(std::string driveName);
44 bool addNewDrive(std::string driveName, yarp::os::Bottle& grpHomeostatic);
51 bool removeDrive(
int d);
63 return Drive(b->get(0).asString(),b->get(1).asDouble(),b->get(2).asString(),b->get(3).asDouble(),b->get(4).asDouble(),b->get(5).asDouble(),b->get(6).asBool());
89 bool respond(
const yarp::os::Bottle& cmd, yarp::os::Bottle& reply);
Drive bDrive(yarp::os::Bottle *b)
bDrive Create Drive from Bottle
bool configure(yarp::os::ResourceFinder &rf)
int openPorts(std::string driveName)
openPorts opens default ports for external communication
bool respond(const yarp::os::Bottle &cmd, yarp::os::Bottle &reply)