This represents one or more RFID tags observed by a receiver.
- See also
- CObservation, mrpt::hwdrivers::CImpinjRFID for a software sensor capable of reading this kind of observations.
Definition at line 28 of file obs/CObservationRFID.h.
#include <mrpt/obs/CObservationRFID.h>
◆ SmartPtr
◆ CObservationRFID()
mrpt::obs::CObservationRFID::CObservationRFID |
( |
| ) |
|
◆ _GetBaseClass()
◆ Create()
◆ CreateObject()
◆ duplicate()
◆ getDescriptionAsText()
void mrpt::obs::CObservationRFID::getDescriptionAsText |
( |
std::ostream & |
o | ) |
const |
|
virtual |
Build a detailed, multi-line textual description of the observation contents and dump it to the output stream.
- Note
- If overried by derived classes, call base CObservation::getDescriptionAsText() first to show common information.
-
This is the text that appears in RawLogViewer when selecting an object in the dataset
Reimplemented from mrpt::obs::CObservation.
◆ getNtags()
uint32_t mrpt::obs::CObservationRFID::getNtags |
( |
| ) |
const |
|
inline |
◆ getOriginalReceivedTimeStamp()
◆ GetRuntimeClass()
◆ getSensorPose() [1/2]
A general method to retrieve the sensor pose on the robot.
Note that most sensors will return a full (6D) CPose3D, but see the derived classes for more details or special cases.
- See also
- setSensorPose
◆ getSensorPose() [2/2]
A general method to retrieve the sensor pose on the robot.
Note that most sensors will return a full (6D) CPose3D, but see the derived classes for more details or special cases.
- See also
- setSensorPose
Implements mrpt::obs::CObservation.
◆ getTimeStamp()
◆ insertObservationInto()
template<class METRICMAP >
bool mrpt::obs::CObservation::insertObservationInto |
( |
METRICMAP * |
theMap, |
|
|
const mrpt::poses::CPose3D * |
robotPose = NULL |
|
) |
| const |
|
inlineinherited |
This method is equivalent to:
map->insertObservation(this, robotPose)
- Parameters
-
theMap | The map where this observation is to be inserted: the map will be updated. |
robotPose | The pose of the robot base for this observation, relative to the target metric map. Set to NULL (default) to use (0,0,0deg) |
- Returns
- Returns true if the map has been updated, or false if this observations has nothing to do with a metric map (for example, a sound observation).
- See also
- CMetricMap, CMetricMap::insertObservation
Definition at line 83 of file obs/CObservation.h.
◆ load()
virtual void mrpt::obs::CObservation::load |
( |
| ) |
const |
|
inlinevirtualinherited |
Makes sure all images and other fields which may be externally stored are loaded in memory.
Note that for all CImages, calling load() is not required since the images will be automatically loaded upon first access, so load() shouldn't be needed to be called in normal cases by the user. If all the data were alredy loaded or this object has no externally stored data fields, calling this method has no effects.
- See also
- unload
Reimplemented in mrpt::obs::CObservation3DRangeScan.
Definition at line 125 of file obs/CObservation.h.
◆ readFromStream()
◆ setSensorPose() [1/2]
A general method to change the sensor pose on the robot.
Note that most sensors will use the full (6D) CPose3D, but see the derived classes for more details or special cases.
- See also
- getSensorPose
◆ setSensorPose() [2/2]
◆ swap()
Swap with another observation, ONLY the data defined here in the base class CObservation. It's protected since it'll be only called from child classes that should know what else to swap appart from these common data.
◆ unload()
virtual void mrpt::obs::CObservation::unload |
( |
| ) |
|
|
inlinevirtualinherited |
◆ writeToStream()
void mrpt::obs::CObservationRFID::writeToStream |
( |
mrpt::utils::CStream & |
out, |
|
|
int * |
getVersion |
|
) |
| const |
|
protected |
◆ _init_CObservationRFID
◆ classCObservation
◆ classCObservationRFID
◆ classinfo
◆ sensorLabel
std::string mrpt::obs::CObservation::sensorLabel |
|
inherited |
An arbitrary label that can be used to identify the sensor.
Definition at line 60 of file obs/CObservation.h.
◆ sensorPoseOnRobot
The location of the sensing antenna on the robot coordinate framework.
Definition at line 39 of file obs/CObservationRFID.h.
◆ tag_readings
std::vector<TTagReading> mrpt::obs::CObservationRFID::tag_readings |
◆ timestamp