1 #ifndef SERVER_COMMUNICATIONS_H 2 #define SERVER_COMMUNICATIONS_H 16 #include <Eigen/Dense> 21 #include <yarp/os/Bottle.h> 22 #include <yarp/os/RpcServer.h> 23 #include <yarp/os/Port.h> 24 #include <yarp/os/PortReader.h> 25 #include <yarp/os/ConnectionReader.h> 45 virtual bool read(yarp::os::ConnectionReader& connection);
46 void parseMessage(yarp::os::Bottle& input, yarp::os::Bottle& reply);
50 ocra::Model::Ptr model;
51 ocra::Controller::Ptr controller;
53 yarp::os::RpcServer rpcServerPort;
54 yarp::os::Port outputPort;
56 std::string rpcServerPort_Name;
57 std::string outputPort_Name;
60 #endif // SERVER_COMMUNICATIONS_H Define the LQP-based controller developped during my PhD thesis with ocra framework.
Define the internal solver class that can be used in the wOcra controller.
Declaration file of the Model class.
#define DEFINE_CLASS_POINTER_TYPEDEFS(Class)
virtual ~ServerCommunications()
virtual bool read(yarp::os::ConnectionReader &connection)
void parseMessage(yarp::os::Bottle &input, yarp::os::Bottle &reply)