28     const uint32_t Ntags = tag_readings.size();
    33     for (uint32_t i = 0; i < Ntags; i++) 
out << tag_readings[i].power;
    34     for (uint32_t i = 0; i < Ntags; i++) 
out << tag_readings[i].epc;
    35     for (uint32_t i = 0; i < Ntags; i++) 
out << tag_readings[i].antennaPort;
    39     out << sensorPoseOnRobot;  
    58                 Ntags = atoi(ntags.c_str());
    67             tag_readings.resize(Ntags);
    68             for (uint32_t i = 0; i < Ntags; i++) in >> tag_readings[i].power;
    69             for (uint32_t i = 0; i < Ntags; i++) in >> tag_readings[i].epc;
    70             for (uint32_t i = 0; i < Ntags; i++)
    71                 in >> tag_readings[i].antennaPort;
    84                 in >> sensorPoseOnRobot;
    96     out_sensorPose = sensorPoseOnRobot;
   101     sensorPoseOnRobot = newSensorPose;
   108     o << 
"Number of RFID tags sensed: " << tag_readings.size() << 
"\n";
   109     for (
size_t i = 0; i < tag_readings.size(); i++)
   111         const auto& rfid = tag_readings[i];
   112         o << 
"#" << i << 
": Power=" << rfid.power
   113           << 
" (dBm) | AntennaPort=" << rfid.antennaPort
   114           << 
" | EPC=" << rfid.epc << std::endl;
 #define IMPLEMENTS_SERIALIZABLE(class_name, base, NameSpace)
To be added to all CSerializable-classes implementation files. 
 
void getSensorPose(mrpt::poses::CPose3D &out_sensorPose) const override
A general method to retrieve the sensor pose on the robot. 
 
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(__V)
For use in CSerializable implementations. 
 
void setSensorPose(const mrpt::poses::CPose3D &newSensorPose) override
A general method to change the sensor pose on the robot. 
 
This namespace contains representation of robot actions and observations. 
 
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. 
 
Classes for 2D/3D geometry representation, both of single values and probability density distribution...
 
Virtual base class for "archives": classes abstracting I/O streams. 
 
A class used to store a 3D pose (a 3D translation + a rotation in 3D). 
 
mrpt::vision::TStereoCalibResults out
 
Declares a class that represents any robot's observation. 
 
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 represents one or more RFID tags observed by a receiver. 
 
#define INVALID_TIMESTAMP
Represents an invalid timestamp, where applicable. 
 
virtual void getDescriptionAsText(std::ostream &o) const
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...
 
void serializeTo(mrpt::serialization::CArchive &out) const override
Pure virtual method for writing (serializing) to an abstract archive.