32 #ifndef YARP_ROSMSG_sensor_msgs_Illuminance_h
33 #define YARP_ROSMSG_sensor_msgs_Illuminance_h
168 static constexpr
const char*
typeName =
"sensor_msgs/Illuminance";
171 static constexpr
const char*
typeChecksum =
"8cf5febb0952fca9d650c3d11a81a188";
175 # Single photometric illuminance measurement. Light should be assumed to be\n\
176 # measured along the sensor's x-axis (the area of detection is the y-z plane).\n\
177 # The illuminance should have a 0 or positive value and be received with\n\
178 # the sensor's +X axis pointing toward the light source.\n\
180 # Photometric illuminance is the measure of the human eye's sensitivity of the\n\
181 # intensity of light encountering or passing through a surface.\n\
183 # All other Photometric and Radiometric measurements should\n\
184 # not use this message.\n\
185 # This message cannot represent:\n\
186 # Luminous intensity (candela/light source output)\n\
187 # Luminance (nits/light output per area)\n\
188 # Irradiance (watt/area), etc.\n\
190 Header header # timestamp is the time the illuminance was measured\n\
191 # frame_id is the location and direction of the reading\n\
193 float64 illuminance # Measurement of the Photometric Illuminance in Lux.\n\
195 float64 variance # 0 is interpreted as variance unknown\n\
196 ================================================================================\n\
197 MSG: std_msgs/Header\n\
198 # Standard metadata for higher-level stamped data types.\n\
199 # This is generally used to communicate timestamped data \n\
200 # in a particular coordinate frame.\n\
202 # sequence ID: consecutively increasing ID \n\
204 #Two-integer timestamp that is expressed as:\n\
205 # * stamp.sec: seconds (stamp_secs) since epoch (in Python the variable is called 'secs')\n\
206 # * stamp.nsec: nanoseconds since stamp_secs (in Python the variable is called 'nsecs')\n\
207 # time-handling sugar is provided by the client library\n\
209 #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::os::idl::BareStyle< yarp::rosmsg::sensor_msgs::Illuminance > rosStyle
yarp::conf::float64_t variance
yarp::conf::float64_t illuminance
static constexpr const char * typeName
bool read(yarp::os::ConnectionReader &connection) override
Read this object from a network connection.
yarp::os::Type getType() const override
bool write(yarp::os::ConnectionWriter &connection) const override
Write this object to a network connection.
bool readBare(yarp::os::ConnectionReader &connection) override
static constexpr const char * typeText
bool writeBottle(yarp::os::ConnectionWriter &connection) const override
yarp::rosmsg::std_msgs::Header header
yarp::os::idl::BottleStyle< yarp::rosmsg::sensor_msgs::Illuminance > bottleStyle
bool readBottle(yarp::os::ConnectionReader &connection) override
bool writeBare(yarp::os::ConnectionWriter &connection) const override
static constexpr const char * typeChecksum
The main, catch-all namespace for YARP.