52 bSub.addString(
"joint_number");
56 bSub.addString(
"tactile_number");
60 bSub.addString(
"part");
64 bSub.addString(
"kinectNode");
74 std::ostringstream oss;
76 oss<<
"joint number: \t\t";
78 oss<<
"tactile number: \t\t";
82 oss<<
"kinectNode: \t\t";
92 if (!b.check(
"joint_number") ||
93 !b.check(
"tactile_number") ||
95 !b.check(
"kinectNode"))
102 m_part = b.find(
"part").asString();
double m_present
Is the object present in the scene A value of 1.0 means that the object currently is in the scene A v...
int m_tactile_number
Tactile number of the represented body part.
Represent any physical entity (including objects and agents) that can be stored within the OPC...
int m_joint_number
Joint number of the represented body part.
virtual yarp::os::Bottle asBottle() const
Return the entity as a bottle.
virtual bool fromBottle(const yarp::os::Bottle &b)
Fill entity fields from a bottle representation.
Represents a body part of the robot.
virtual std::string toString() const
Return a human readable description of the entity.
std::string m_part
The part itself, e.g.
virtual yarp::os::Bottle asBottle() const
Return the entity as a bottle.
virtual std::string toString() const
Return a human readable description of the entity.
std::string m_kinectNode
The string labelling the kinect node (of a human kinematic structure, one of the ICUBCLIENT_OPC_BODY_...
std::string m_entity_type
virtual bool fromBottle(const yarp::os::Bottle &b)
Fill entity fields from a bottle representation.