Go to the documentation of this file.
26 out << sensorLabel << timestamp << sample_rate << AIN_8bits << AIN_16bits
27 << AIN_32bits << AIN_float << AIN_double << AIN_channel_count
28 << AIN_interleaved << AOUT_8bits << AOUT_16bits << AOUT_float
29 << AOUT_double << DIN << DOUT << CNTRIN_32bits << CNTRIN_double;
39 in >> sensorLabel >> timestamp >> sample_rate >> AIN_8bits >>
40 AIN_16bits >> AIN_32bits >> AIN_float >> AIN_double >>
41 AIN_channel_count >> AIN_interleaved >> AOUT_8bits >>
42 AOUT_16bits >> AOUT_float >> AOUT_double >> DIN >> DOUT >>
43 CNTRIN_32bits >> CNTRIN_double;
56 o <<
"Sample rate : " << sample_rate <<
" Hz"
58 o <<
"Analog IN Channel count : " << AIN_channel_count <<
"\n";
59 o <<
"Analog IN interleaved? : " << (AIN_interleaved ?
"yes" :
"no")
62 #define RAWDAQ_SHOW_FIRSTS(_VEC) \
63 o << "Raw data in " #_VEC " (" << (_VEC).size() \
64 << " entries): First values ["; \
65 if (!(_VEC).empty()) \
68 i <= std::min((_VEC).size(), static_cast<size_t>(10)); i++) \
69 o << (_VEC)[i - 1] << " "; \
Store raw data from a Data Acquisition (DAQ) device, such that input or output analog and digital cha...
void serializeTo(mrpt::serialization::CArchive &out) const override
Pure virtual method for writing (serializing) to an abstract archive.
mrpt::vision::TStereoCalibResults out
Classes for 2D/3D geometry representation, both of single values and probability density distribution...
This namespace contains representation of robot actions and observations.
Virtual base class for "archives": classes abstracting I/O streams.
virtual void getDescriptionAsText(std::ostream &o) const
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...
#define RAWDAQ_SHOW_FIRSTS(_VEC)
#define IMPLEMENTS_SERIALIZABLE(class_name, base, NameSpace)
To be added to all CSerializable-classes implementation files.
void getDescriptionAsText(std::ostream &o) const override
Build a detailed, multi-line textual description of the observation contents and dump it to the outpu...
Declares a class that represents any robot's observation.
#define MRPT_THROW_UNKNOWN_SERIALIZATION_VERSION(__V)
For use in CSerializable implementations.
void serializeFrom(mrpt::serialization::CArchive &in, uint8_t serial_version) override
Pure virtual method for reading (deserializing) from an abstract archive.
Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Sun Jul 19 17:54:30 UTC 2020 | |