3 #ifndef __OYW_PORT_READER_HPP__
4 #define __OYW_PORT_READER_HPP__
6 #include <yarp/os/Bottle.h>
7 #include <yarp/os/PortReader.h>
9 #include <openrave/openrave.h>
14 class OpenraveYarpWorld;
23 OywPortReader() : boxCount(0), sboxCount (0), cylCount(0), scylCount(0), sphCount(0), ssphCount(0), meshCount(0), fileCount(0) {}
24 void setOpenraveYarpWorldPtr(
OpenraveYarpWorld *value) { openraveYarpWorldPtr = value; }
30 std::vector<OpenRAVE::KinBodyPtr> objKinBodyPtrs;
31 int boxCount, sboxCount, cylCount, scylCount, sphCount, ssphCount, meshCount, fileCount;
34 double drawRadius, drawR, drawG, drawB;
37 bool read(yarp::os::ConnectionReader& in)
override;
40 bool checkIfString(yarp::os::Bottle& request,
int index, yarp::os::Bottle& response);
41 bool tryToSetActiveManipulator(
const std::string& robot,
const std::string& manipulator, yarp::os::Bottle& response);
Opens YARP RpcPort, to control environment.
Definition: OpenraveYarpWorld.hpp:29
Processes RPC requests for OpenraveYarpWorld.
Definition: OywPortReader.hpp:21
The main, catch-all namespace for Robotics Lab UC3M.
Definition: groups.dox:5