24 #define WRITE_JOINT(_J) out << _J.x << _J.y << _J.z << _J.conf; 25 #define READ_JOINT(_J) in >> _J.x >> _J.y >> _J.z >> _J.conf; 48 out << sensorLabel << timestamp << sensorPose;
96 o <<
"Sensor pose on the robot: " << sensorPose << endl;
101 o << endl <<
"Joint Positions (x, y, z) [mm] -- confidence" << endl;
103 #define PRINT_JOINT(_J) \ 104 cout << "\t" << #_J << ":\t(" << this->_J.x << ", " << this->_J.y << ", " \ 105 << this->_J.z << ") -- " << this->_J.conf << endl; This class stores a skeleton as tracked by OPENNI2 & NITE2 libraries from PrimeSense sensors...
#define IMPLEMENTS_SERIALIZABLE(class_name, base, NameSpace)
This must be inserted in all CSerializable classes implementation files.
uint8_t serializeGetVersion() const override
Must return the current versioning number of the object.
void serializeFrom(mrpt::serialization::CArchive &in, uint8_t serial_version) override
Pure virtual method for reading (deserializing) from an abstract archive.
void serializeTo(mrpt::serialization::CArchive &out) const override
Pure virtual method for writing (serializing) to an abstract archive.
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(__V)
For use in CSerializable implementations.
void getDescriptionAsText(std::ostream &o) const override
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...
This namespace contains representation of robot actions and observations.
Classes for 2D/3D geometry representation, both of single values and probability density distribution...
Virtual base class for "archives": classes abstracting I/O streams.
Declares a class that represents any robot's observation.
virtual void getDescriptionAsText(std::ostream &o) const
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...