19#ifndef YARP_ROSMSG_sensor_msgs_Temperature_h
20#define YARP_ROSMSG_sensor_msgs_Temperature_h
62 if (!header.
read(connection)) {
84 if (!header.
read(connection)) {
100 return (connection.
isBareMode() ? readBare(connection)
101 : readBottle(connection));
107 if (!header.
write(connection)) {
126 if (!header.
write(connection)) {
145 return (connection.
isBareMode() ? writeBare(connection)
146 : writeBottle(connection));
155 static constexpr const char* typeName =
"sensor_msgs/Temperature";
158 static constexpr const char* typeChecksum =
"ff71b307acdbe7c871a5a6d7ed359100";
161 static constexpr const char* typeText =
"\
162 # Single temperature reading.\n\
164 Header header # timestamp is the time the temperature was measured\n\
165 # frame_id is the location of the temperature reading\n\
167 float64 temperature # Measurement of the Temperature in Degrees Celsius\n\
169 float64 variance # 0 is interpreted as variance unknown\n\
170================================================================================\n\
171MSG: std_msgs/Header\n\
172# Standard metadata for higher-level stamped data types.\n\
173# This is generally used to communicate timestamped data \n\
174# in a particular coordinate frame.\n\
176# sequence ID: consecutively increasing ID \n\
178#Two-integer timestamp that is expressed as:\n\
179# * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
180# * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
181# time-handling sugar is provided by the client library\n\
183#Frame this data is associated with\n\
#define BOTTLE_TAG_FLOAT64
An interface for reading from a network connection.
virtual bool isBareMode() const =0
Check if the connection is bare mode.
virtual bool convertTextMode()=0
Reads in a standard description in text mode, and converts it to a standard description in binary.
virtual bool isError() const =0
virtual yarp::conf::float64_t expectFloat64()=0
Read a 64-bit floating point number from the network connection.
An interface for writing to a network connection.
virtual bool isError() const =0
virtual bool isBareMode() const =0
Check if the connection is bare mode.
virtual bool convertTextMode()=0
Converts a standard description in binary into a textual description, if the connection is in text-mo...
virtual void appendInt32(std::int32_t data)=0
Send a representation of a 32-bit integer to the network connection.
virtual void appendFloat64(yarp::conf::float64_t data)=0
Send a representation of a 64-bit floating point number to the network connection.
static Type byName(const char *name)
Type & addProperty(const char *key, const Value &val)
A single value (typically within a Bottle).
A "tamed" Portable, that promises to serialize itself in an IDL-friendly way.
virtual bool read(yarp::os::idl::WireReader &reader)
virtual bool write(const yarp::os::idl::WireWriter &writer) const
IDL-friendly connection reader.
yarp::conf::float64_t expectFloat64()
yarp::rosmsg::sensor_msgs::Temperature Temperature
bool read(ImageOf< PixelRgb > &dest, const std::string &src, image_fileformat format=FORMAT_ANY)
bool write(const ImageOf< PixelRgb > &src, const std::string &dest, image_fileformat format=FORMAT_PPM)
The main, catch-all namespace for YARP.